Skip to content

feat: ✨ add Astro #1

feat: ✨ add Astro

feat: ✨ add Astro #1

Workflow file for this run

on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: npm install && npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: fbe814d4a37d3d3d7fcfeec0ab929ff6
projectName: datonic
directory: dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main