diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 3c0a15a..b7627cd 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -16,7 +16,6 @@ permissions: id-token: write # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" cancel-in-progress: false @@ -29,18 +28,25 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout repository uses: actions/checkout@v4 + + - name: Move index.html to root + run: | + mv templates/index.html ./index.html + - name: Setup Pages uses: actions/configure-pages@v5 + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Only upload specific folders or files, including templates + # Upload all files, with index.html in the root path: | - templates/ + ./ assets/ - index.html + templates/ + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4