diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 752ee53..ad198c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,21 @@ name: Build + on: workflow_dispatch: push: + branches: ["main"] + +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest @@ -13,7 +27,6 @@ jobs: - name: Run the build run: ./build.sh - name: Upload static files as artifact - id: deployment uses: actions/upload-pages-artifact@v3 with: path: www-root