diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67ccff2..5e533af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,5 @@ +# Q: "Why do we need a build job when we already have a build-and-deploy job?" +# A: This one runs to test PRs; build-and-deploy runs to deploy the site after merging. name: build on: pull_request: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0156f3..780772c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.4 + uses: JamesIves/github-pages-deploy-action@v4.8.0 with: branch: gh-pages # The branch the action should deploy to. folder: build # The folder the action should deploy.