diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a7d5876..5d281cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,9 +3,13 @@ name: Deploy Next.js site to Pages on: - # Runs on pushes targeting the default branch push: branches: ["build"] + pull_request: + branches: + - build + types: + - closed # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -50,7 +54,7 @@ jobs: deploy: environment: name: github-pages - url: https://gametheory-iiith.github.io + url: https://gametheory-iiit.github.io runs-on: ubuntu-latest needs: build steps: diff --git a/.github/workflows/setup-node/action.yml b/.github/workflows/setup-node/action.yml index f5175f9..b0513c4 100644 --- a/.github/workflows/setup-node/action.yml +++ b/.github/workflows/setup-node/action.yml @@ -8,7 +8,7 @@ runs: - name: Setup Node.js ⚙️ uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 21 - name: Cache dependencies ⚡ id: cache_dependencies