Skip to content

Commit c66281f

Browse files
authored
Update build_and_deploy.yml [build]
1 parent aec21d9 commit c66281f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,18 @@ jobs:
3535
folder: _build/html/
3636
target-folder: ./
3737
clean-exclude: |
38+
venv/
3839
old/
3940
0.*/
4041
- name: Get Expyriment version without v
4142
run: |
4243
VERSION=${{ steps.latest.outputs.release }}
43-
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
44+
echo "VERSION_NR=${VERSION:1}" >> $GITHUB_ENV
4445
- name: Deploy (version subdirectory)
4546
uses: JamesIves/github-pages-deploy-action@v4
4647
with:
4748
branch: gh-pages-test # change back to gh-pages after testing
4849
folder: _build/html/
49-
target-folder: ./${VERSION}/
50+
target-folder: ${{ env.VERSION_NR }}
51+
clean-exclude: |
52+
venv/

0 commit comments

Comments
 (0)