Remove wp-now mentions from README.md #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: Generate Static Site | |
on: | |
push: | |
branches: | |
- trunk | |
workflow_dispatch: | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # to deploy to Pages | |
timeout-minutes: 5 | |
env: | |
REPO: ${{ github.repository }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: 'Install bun' | |
run: | | |
curl -fsSL https://bun.sh/install | bash | |
- name: Generate static site | |
run: PATH="${PATH}:${HOME}/.bun/bin" bash build-static-site.sh | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./output | |