diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index bcfcb8b..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Web preview - -on: - push: - branches: [main] - paths: [web/**, .github/workflows/pages.yml] - workflow_dispatch: - -permissions: - contents: read - -concurrency: - group: pages - cancel-in-progress: false - -jobs: - build: - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 - # The app loads ../taste and ../theme, so publish web/ whole and send the site root to the app. - - run: | - cp -R web _site - printf 'AkashiAkashi web preview\n' > _site/index.html - - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 - - deploy: - needs: build - runs-on: ubuntu-24.04 - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }}app/ - steps: - - id: deployment - uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1