Skip to content

Commit

Permalink
track v4, not v4.x.x, versions of github-pages-deploy action (#67)
Browse files Browse the repository at this point in the history
The [github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) appears to point `vX` tags to whatever the latest `vX.y.z` tag is (e.g. [v4 currently points to the same commit that v4.6.8 does](https://github.com/JamesIves/github-pages-deploy-action/tags)), which means we should be able to use `uses: JamesIves/github-pages-deploy-action@v4` and always get the latest v4.x.y that's available without having to merge dependabot update PRs every few weeks.
  • Loading branch information
cjyetman authored Sep 30, 2024
1 parent 2136f37 commit f056825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.6.4
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: ${{ github.event_name == 'workflow_dispatch' && inputs.clean || false }}
branch: gh-pages
Expand Down

0 comments on commit f056825

Please sign in to comment.