Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jul 23, 2024
1 parent 5ea48e3 commit 57ee394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ jobs:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'release')
script: [ github.event_name == 'release']; then page=${GITHUB_REF#refs/tags/}; else page=current; fi
steps:
- name: retrieve built documentation
uses: actions/download-artifact@v2
with:
name: documentation-page
- name: debug
run: |
mkdir _gh-pages/$page
mv latest _gh-pages/$page
if [ github.event_name == 'release']; then ENV_PAGE=${GITHUB_REF#refs/tags/}; else ENV_PAGE=current; fi
mkdir _gh-pages/$ENV_PAGE
mv latest _gh-pages/$ENV_PAGE
- name: deploying $page to gh-pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
Expand Down

0 comments on commit 57ee394

Please sign in to comment.