Skip to content

Commit

Permalink
fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjiU committed Jul 25, 2024
1 parent 1070520 commit f51f3b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ jobs:
fetch-depth: 0
- id: branch-name
uses: tj-actions/[email protected]
- name: Ensure we can checkout gh-pages
- name: Ensure we can checkout gh-pages for release (tags)
if: steps.branch-names.outputs.is_tag == 'true'
run: |
git checkout gh-pages
git checkout ${{ steps.branch-names.outputs.tag }}
- name: Ensure we can checkout gh-pages for pr (branch)
if: steps.branch-names.outputs.is_tag == 'false'
run: |
git checkout gh-pages
Expand Down

0 comments on commit f51f3b6

Please sign in to comment.