Skip to content

v0.25.2

v0.25.2 #42

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
name: publish to cloudflare pages
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: "npm"
- name: Install dependencies
run: npm clean-install
- name: Build
run: npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: guitos
directory: build
branch: main