Skip to content

Commit

Permalink
upd github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xdeq committed Sep 29, 2023
1 parent 57c7ca7 commit 1ca81cd
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: cloudflare

on: ['push']
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"
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"

0 comments on commit 1ca81cd

Please sign in to comment.