Skip to content

upd github ci

upd github ci #4

Workflow file for this run

name: cloudflare
on: ["push"]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm run build
env:
NITRO_PRESET: cloudflare-pages
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: celestia-explorer
directory: dist
branch: master
wranglerVersion: "3"