Skip to content

Commit

Permalink
enabled deploy section
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweinold committed May 20, 2024
1 parent e0209cf commit 082faf3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/deploy_emscripten-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ jobs:
jupyter lite build --contents content --output-dir dist
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@4 # https://github.com/actions/upload-artifact/releases
with:
path: ./dist

# deploy:
# needs: build
# if: github.ref == 'refs/heads/emscripten-forge'
# permissions:
# pages: write
# id-token: write
#
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
#
# runs-on: ubuntu-latest
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2
deploy:
needs: build
if: github.ref == 'refs/heads/emscripten-forge'
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # https://github.com/actions/deploy-pages/releases

0 comments on commit 082faf3

Please sign in to comment.