Skip to content

Commit

Permalink
try deploying it to a folder based on the ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
pschichtel committed Apr 27, 2021
1 parent c41f6e5 commit 6b2e311
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/webgl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
with:
name: Build
path: build
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/WebGL/WebGL
target-folder: latest
target-folder: ${{ env.RELEASE_VERSION }}

0 comments on commit 6b2e311

Please sign in to comment.