diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0e22d484..8268945a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -26,9 +26,11 @@ concurrency: jobs: build: name: Build + if: ${{ github.event.repository.fork == false }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + - uses: actions/setup-node@v6 with: node-version: 24 @@ -41,6 +43,7 @@ jobs: - name: Install dependencies run: npm ci --ignore-scripts working-directory: site + - name: Build site run: npm run build working-directory: site @@ -63,4 +66,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 \ No newline at end of file