Skip to content

Commit

Permalink
💚 Upload page artifact + Deploy page
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaza-Kun authored Mar 29, 2024
1 parent 9d7bf14 commit 8d2e514
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on: [push, pull_request]

jobs:
test:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -23,3 +23,19 @@ jobs:

- run: yarn wasm
- run: yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 8d2e514

Please sign in to comment.