Skip to content

Commit aec21d9

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ jobs:
3737
clean-exclude: |
3838
old/
3939
0.*/
40+
- name: Get Expyriment version without v
41+
run: |
42+
VERSION=${{ steps.latest.outputs.release }}
43+
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
44+
- name: Deploy (version subdirectory)
45+
uses: JamesIves/github-pages-deploy-action@v4
46+
with:
47+
branch: gh-pages-test # change back to gh-pages after testing
48+
folder: _build/html/
49+
target-folder: ./${VERSION}/

0 commit comments

Comments
 (0)