From d22d0a25efd6d547be24cdb83f9e371a6c2eb21c Mon Sep 17 00:00:00 2001 From: Snarling <84951833+Snarling@users.noreply.github.com> Date: Mon, 24 Oct 2022 09:51:22 -0400 Subject: [PATCH] DEV: Attempt new yml for deploy to gh pages (#150) --- .github/workflows/deploy.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..532baeb9c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,35 @@ +name: "Deploy to GH Pages" + +on: + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npm run build + - uses: actions/upload-pages-artifact@v1 + with: + path: "." + - name: Deploy to gh pages + id: deployment + uses: actions/deploy-pages@v1