Skip to content

Commit

Permalink
ci: config update
Browse files Browse the repository at this point in the history
  • Loading branch information
eallion committed Nov 18, 2023
1 parent a1a30ce commit 6d57ea5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/download-mastodon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:

workflow_dispatch:
repository_dispatch:
types:
# mastodon webhook
- mastodon-update
types: [mastodon-update]

jobs:
mastodon:
Expand Down Expand Up @@ -41,4 +39,4 @@ jobs:
- name: Build Hugo and Deploy
uses: peter-evans/repository-dispatch@v2
with:
event-type: "Build Hugo and Deploy"
event-type: build-hugo
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
# schedule:
# - cron: 0 16 * * *
workflow_dispatch:
# repository_dispatch:
repository_dispatch:
types: [build-hugo]

jobs:
build-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/neodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
if: ${{ env.REMOTE_COUNT != env.CURRENT_COUNT }}
uses: peter-evans/repository-dispatch@v2
with:
event-type: "Build Hugo and Deploy"
event-type: build-hugo

# # 把海报上传到腾讯云
# - name: Upload Cover to Tencent COS
Expand Down

0 comments on commit 6d57ea5

Please sign in to comment.