# Deploy the winpodx.org landing page (web/) to GitHub Pages. # # Requires repo Settings -> Pages -> Source = "GitHub Actions" (one-time, done # in the UI) and the custom domain winpodx.org configured there. The CNAME # file in web/ is published with the site so the custom domain sticks. name: Deploy site on: push: branches: [main] paths: - "web/**" - ".github/workflows/pages.yml" workflow_dispatch: permissions: contents: read pages: write id-token: write # Never run two deploys at once; let an in-flight one finish (don't cancel, # so a partial publish can't clobber a good one). concurrency: group: pages cancel-in-progress: false jobs: deploy: runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - uses: actions/checkout@v4 - uses: actions/configure-pages@v5 - uses: actions/upload-pages-artifact@v3 with: path: web - id: deployment uses: actions/deploy-pages@v4