diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 16d0e38..9860105 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,8 +38,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - name: github-pages - path: build + path: .build/ deploy-production: needs: build @@ -49,8 +48,6 @@ jobs: permissions: pages: write id-token: write - deployments: write - statuses: write contents: read environment: @@ -63,24 +60,11 @@ jobs: steps: - name: Configure Pages - uses: actions/configure-pages@v4 - - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: github-pages - path: build - - - name: Debug downloaded artifact - run: | - echo "Downloaded contents:" - ls -la build + uses: actions/configure-pages@v5 - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 - with: - artifact_name: github-pages # deploy-preview: # needs: build