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 f51f3b6 commit be7f33e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- id: branch-name
uses: tj-actions/[email protected]
- name: Ensure we can checkout gh-pages for release (tags)
- name: Get branch names
id: branch-names
uses: tj-actions/branch-names@v8
- name: Ensure we can checkout gh-pages for release (${{ steps.branch-names.outputs.tag }})
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)
- name: Ensure we can checkout gh-pages for pr (${{ steps.branch-names.outputs.current_branch }})
if: steps.branch-names.outputs.is_tag == 'false'
run: |
git checkout gh-pages
Expand Down

0 comments on commit be7f33e

Please sign in to comment.