From ce24093cb8f132e34b23af559bd5096f09dcea87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ann=20Kilzer=20=E3=82=AD=E3=83=AB=E3=82=B6=E3=83=BC?= =?UTF-8?q?=E6=9D=8F?= Date: Sun, 21 Apr 2024 19:25:11 +0900 Subject: [PATCH] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index bd2001c..806254c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -22,19 +22,20 @@ concurrency: cancel-in-progress: false jobs: - # Single deploy job since we're just deploying - deploy: + build-and-deploy: + runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 - name: Build Page - run: npm run build + run: | + npm ci + npm run build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: