Skip to content

デプロイ処理を改修 #41

デプロイ処理を改修

デプロイ処理を改修 #41

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'main'
permissions:
contents: read
deployments: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout commit
uses: actions/checkout@v3
- uses: ./.github/actions/setup-node
- name: Build Astro
run: pnpm build
- name: Cloudflare Pages Deploy
uses: cloudflare/pages-action@v1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: blog-0maru-dev
directory: dist