Skip to content

Commit

Permalink
Update build_and_deploy.yml [build]
Browse files Browse the repository at this point in the history
  • Loading branch information
fladd authored May 30, 2024
1 parent aec21d9 commit c66281f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,18 @@ jobs:
folder: _build/html/
target-folder: ./
clean-exclude: |
venv/
old/
0.*/
- name: Get Expyriment version without v
run: |
VERSION=${{ steps.latest.outputs.release }}
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
echo "VERSION_NR=${VERSION:1}" >> $GITHUB_ENV
- name: Deploy (version subdirectory)
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages-test # change back to gh-pages after testing
folder: _build/html/
target-folder: ./${VERSION}/
target-folder: ${{ env.VERSION_NR }}
clean-exclude: |
venv/

0 comments on commit c66281f

Please sign in to comment.