diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 96ecd3a..b65817b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,6 +5,13 @@ on: branches: - main + workflow_dispatch: + +# Allow one concurrent deployment +concurrency: + group: 'pages' + cancel-in-progress: true + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -25,7 +32,7 @@ jobs: run: npx tsc - name: Build - run: npm run build + run: npm run build -- --base /${{ github.repository }}/ - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3