Skip to content

Merge pull request #22 from taga3s/feature/show-filename-with-rehype-… #20

Merge pull request #22 from taga3s/feature/show-filename-with-rehype-…

Merge pull request #22 from taga3s/feature/show-filename-with-rehype-… #20

name: deploy
on:
push:
branches:
- main
permissions:
contents: read
deployments: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.6.0
run_install: false
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy ./dist --project-name=taga3s-dev-website