Skip to content

Commit

Permalink
Merge pull request #602 from jansule/update-gh-pages-deploy-action
Browse files Browse the repository at this point in the history
ci(gh-pages): upgrade github-pages-deploy-action to v4
  • Loading branch information
jansule authored Nov 17, 2023
2 parents 2427452 + 9bb85f2 commit e672c2e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/on-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,15 @@ jobs:
echo "VERSION=$(node -pe "require('./package.json').version")" >> $GITHUB_ENV
- name: Deploy (to docs/v${{ env.VERSION }}) 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
TARGET_FOLDER: docs/v${{ env.VERSION }}
branch: gh-pages
folder: docs
target-folder: docs/v${{ env.VERSION }}

- name: Deploy (to docs/latest) 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
TARGET_FOLDER: docs/latest
branch: gh-pages
folder: docs
target-folder: docs/latest
9 changes: 4 additions & 5 deletions .github/workflows/on-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ jobs:
run: npm run generate-docs

- name: Deploy (to docs/master) 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
TARGET_FOLDER: docs/master
branch: gh-pages
folder: docs
target-folder: docs/master

0 comments on commit e672c2e

Please sign in to comment.