Skip to content

Commit

Permalink
Merge pull request #137 from rzk-lang/fix-latest-playground
Browse files Browse the repository at this point in the history
Push Rzk Playground to latest (since it's not replicated by default)
  • Loading branch information
fizruk authored Oct 9, 2023
2 parents 123b225 + bc428b9 commit 5e5c2d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ghcjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ jobs:
clean: false
single-commit: true

- name: '🚀 Publish JS "binaries" (latest)'
if: ${{ startsWith(github.ref, 'refs/tags/') && startsWith(github.ref_name, 'v') && github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: rzk-playground-release
target-folder: latest/playground
clean: false
single-commit: true

- name: '🚀 Publish JS "binaries"'
if: ${{ github.ref_name == 'main' && github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 5e5c2d7

Please sign in to comment.