Skip to content

Commit

Permalink
Update pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
parasti authored Jan 2, 2024
1 parent 7dece97 commit fe335ea
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,28 @@ jobs:
run: "./neverball/.devcontainer/install-gl4es.sh"
- name: Build web version
run: "(cd ./neverball && make -j2 -f emscripten/ball.mk BUILD=release)"
- name: Upload build artifact
uses: actions/upload-artifact@v4.0.0
with:
name: neverball
path: "./neverball/js"
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Download build artifact
uses: actions/download-artifact@v4.1.0
with:
name: neverball
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './neverball/js'
path: "."
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit fe335ea

Please sign in to comment.