Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages

on:
push:
branches: [ main ]
branches: [main]
workflow_dispatch:

permissions:
Expand All @@ -16,19 +16,19 @@ jobs:
environment:
name: github-pages
env:
PUBLIC_GITHUB_TOKEN: ${{ secrets.CONTRIBUTOR_SECRET }}
PUBLIC_GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install, build, and upload
uses: withastro/action@v1
with:
path: ./
node-version: 18
package-manager: npm
env:
PUBLIC_GITHUB_TOKEN: ${{ secrets.CONTRIBUTOR_SECRET }}
PUBLIC_GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}

deploy:
needs: build
Expand All @@ -39,4 +39,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1