chore: precommit run #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Workflow | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Build website | |
run: | | |
deno task build | |
git add -f site/bundle.js | |
- name: Publish to GH Pages | |
uses: s0/[email protected] | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: site/ | |
MESSAGE: "{sha} {msg}" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |