From efd6a6ebe5fa89081a841e9c4f60f5eff78a36e6 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sat, 20 Apr 2024 17:08:48 -0700 Subject: [PATCH] try site --- .github/workflows/site.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/site.yaml diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml new file mode 100644 index 0000000..f7bc88e --- /dev/null +++ b/.github/workflows/site.yaml @@ -0,0 +1,27 @@ +name: Deploy Site +on: + workflow_dispatch: {} + push: + branches: + - main +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - uses: actions/checkout@v3 + - uses: mymindstorm/setup-emsdk@v12 + with: + version: "latest" + - run: make site + - uses: actions/configure-pages@v2 + - uses: actions/upload-pages-artifact@v1 + with: + path: dist/.site + - id: deployment + uses: actions/deploy-pages@v1