forked from ctmesh/web
maybe adjusted workflow to push to staging automatically
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
name: Deploy Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
on: push
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -20,4 +17,4 @@ jobs:
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
accountId: ${{ secrets.CF_ACCOUNT_ID }}
|
||||
command: pages deploy /tmp/deploy --project-name=ctmesh-org
|
||||
command: pages deploy /tmp/deploy --project-name=ctmesh-org --branch=${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user