File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1212 required : false
1313 default : 0
1414 type : number
15+ deploy_webapp :
16+ description : " Whether to deploy web app"
17+ required : false
18+ default : true
19+ type : boolean
1520 deploy_docs :
1621 description : " Whether to deploy docs"
1722 required : false
3843 required : false
3944 default : 0
4045 type : number
46+ deploy_webapp :
47+ description : " Whether to deploy web app"
48+ required : false
49+ default : true
50+ type : boolean
4151 deploy_docs :
4252 description : " Whether to deploy docs"
4353 required : false
8191 fi
8292 # https://developers.cloudflare.com/pages/how-to/use-direct-upload-with-continuous-integration/#use-github-actions
8393 # TODO: Make this reusable
94+ - name : Deploy web app
95+ id : deploy-webapp
96+ if : ${{ inputs.deploy_webapp }}
97+ uses : cloudflare/wrangler-action@v3
98+ with :
99+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
100+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
101+ command : pages publish "packages/altair-app/dist/browser" --project-name="altair-webapp"
102+ # Optional: Enable this if you want to have GitHub Deployments triggered
103+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
84104 - name : Deploy docs
85105 id : deploy-docs
86106 if : ${{ inputs.deploy_docs }}
You can’t perform that action at this time.
0 commit comments