Skip to content

Commit

Permalink
Update method to fetch tags
Browse files Browse the repository at this point in the history
Apparently the option on actions/checkout does not actually work...
  • Loading branch information
hansec committed Jun 12, 2024
1 parent 33bbf9b commit a7be042
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true

- name: Fetch release tags (deploy)
if: github.ref == 'refs/heads/gh-pages'
run: git fetch --prune --unshallow --tags

- name: Install prerequisites
run: |
Expand Down

0 comments on commit a7be042

Please sign in to comment.