diff --git a/.github/actions/pages.yml b/.github/actions/pages.yml new file mode 100644 index 0000000..d84c733 --- /dev/null +++ b/.github/actions/pages.yml @@ -0,0 +1,23 @@ +name: GitHub Pages + +on: + push: + branches: + - main + pull_request: + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + contents: write + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + steps: + - uses: actions/checkout@v4 + - name: Deploy + uses: peaceiris/actions-gh-pages@v4 + if: github.ref == 'refs/heads/main' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html