Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Aug 24, 2024
1 parent c7b10ce commit eeb5989
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy-stage-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ name: Deploy master to cloudflare pages for test

on:
push:
branches: ["master"]
branches: [ "master" ]
workflow_dispatch:
inputs:
git-ref:
description: "Release Git Ref (Which branch or tag to build?)"
required: true
default: "master"
cloudflare-project-name:
description: "Cloudflare pages project name"
required: true
default: "logseq-dev"

env:
CLOJURE_VERSION: "1.10.1.763"
Expand Down Expand Up @@ -47,6 +57,6 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2553ea8236c11ea0f88de28fce1cbfee
projectName: "logseq-dev"
directory: "static"
directory: "public"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: "production"

0 comments on commit eeb5989

Please sign in to comment.