Skip to content

Update description

Update description #17

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- run: npm ci
- run: npm run format -- --check
- run: npm run lint
- run: npm run build
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v3
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
directory: dist