From ce3d0522603dbd976e65c4ef4bddeee5976196e6 Mon Sep 17 00:00:00 2001 From: Fawad Ali Date: Mon, 3 Mar 2025 12:54:29 +0100 Subject: [PATCH] Another try to fix deployment --- .github/workflows/static.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 92bdbe5..045996f 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -25,30 +25,34 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: - name: Checkout uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 21.x cache: yarn cache-dependency-path: ./package-lock.json + - name: Install dependencies run: yarn install --frozen-lockfile --non-interactive + - name: Build run: yarn run build - name: Setup Pages uses: actions/configure-pages@v5 + - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-pages-artifact@v3 with: - name: github-pages - path: - build + path: build + - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4