Skip to content

Commit

Permalink
perf: ♻️ Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Nov 20, 2023
1 parent cd1f04f commit fb48eeb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release-pages.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: release-pages

on:
push:
branches:
- main
workflow_run:
workflows: ['release-please']
types:
- completed

permissions:
contents: write
Expand All @@ -16,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v4
with:
node-version: 16.x

Expand Down Expand Up @@ -55,4 +56,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
folder: dist
folder: dist
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
with:
release-type: node
package-name: release-please-action
token: ${{ secrets.ACCESS_TOKEN }}
token: ${{ secrets.ACCESS_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/sync-gitee.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: sync-gitee

on:
workflow_run:
workflows: ['release-pages']
types:
- completed

jobs:
sync-to-gitee:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fb48eeb

Please sign in to comment.