diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3278bda..17fe62a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,6 +10,9 @@ jobs: # Give the default GITHUB_TOKEN write permission to commit and push the # added or changed files to the repository. contents: write + contents: read + pages: write + id-token: write steps: - uses: actions/checkout@v3 @@ -46,3 +49,12 @@ jobs: folder: public clean: true single-commit: true + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: 'public' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file