diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6442203..a4d9e70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ on: [push, pull_request] jobs: - test: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -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