Skip to content

Commit

Permalink
Merge pull request #7 from GarethCabournDavies/docs_releases
Browse files Browse the repository at this point in the history
Better naming of the docs folders
  • Loading branch information
GarethCabournDavies authored Jul 24, 2024
2 parents 72c6ad5 + 9ec2e13 commit ad81a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
name: documentation-page
- name: debug
run: |
if [ github.event_name == 'release']; then ENV_PAGE=${GITHUB_REF#refs/tags/}; else ENV_PAGE=current; fi
mkdir -p _gh-pages/$ENV_PAGE
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 $page to gh-pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit ad81a51

Please sign in to comment.