Skip to content

Commit

Permalink
Try this one
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jul 25, 2024
1 parent 9afca9f commit f764fc5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,10 @@ jobs:
uses: actions/download-artifact@v2
with:
name: documentation-page
- name: debug
run: |
if [ github.event_name == 'release']; then ENV_PAGE=${GITHUB_REF#refs/tags/}; else ENV_PAGE=latest; fi
mkdir _gh-pages
mv latest _gh-pages/$ENV_PAGE
- name: deploying to gh-pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _gh-pages
FOLDER: _gh_pages
TARGET_FOLDER: $(if [ github.event_name == 'release']; then echo ${GITHUB_REF#refs/tags/}; else echo latest; fi)

0 comments on commit f764fc5

Please sign in to comment.