Skip to content

Merge pull request #68 from ChainSafe/jeluard/fix-runtime-error #22

Merge pull request #68 from ChainSafe/jeluard/fix-runtime-error

Merge pull request #68 from ChainSafe/jeluard/fix-runtime-error #22

Workflow file for this run

name: CloudFlare Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: '18'
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: light-client-demo
directory: ./build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}