Skip to content

Commit

Permalink
chore: manual deploy to cloudflare pages (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Faithtosin authored Jan 24, 2023
1 parent 7f79180 commit 7ae13ca
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cd-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CloudFlare Pages Deploy
on:
workflow_dispatch:

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: '16'
- 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: simpleserialize
directory: ./packages/simpleserialize.com/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7ae13ca

Please sign in to comment.