Skip to content

Merge pull request #7 from kata0510/replace_document-page #1

Merge pull request #7 from kata0510/replace_document-page

Merge pull request #7 from kata0510/replace_document-page #1

Workflow file for this run

name: Deploy Docusaurus site to Cloudflare Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Build website
run: npm run build
- name: Deploy to Cloudflare Pages
run: npx wrangler pages publish build --project-name=lily58-document
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}