File tree 2 files changed +40
-0
lines changed
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CI / CD"
2
+ on :
3
+ push :
4
+ branches :
5
+ - live
6
+ - develop
7
+ jobs :
8
+ setup :
9
+ runs-on : ubuntu-latest
10
+ name : Build & Deploy
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ with :
14
+ repository : br-data/cloud-deploy-action
15
+ token : ${{ secrets.BRDATA_ACCESS }}
16
+ path : ./
17
+ - id : build-and-deploy
18
+ name : Build and Deploy
19
+ uses : ./
20
+ with :
21
+ access_token : ${{ secrets.BRDATA_ACCESS }}
22
+ repo_name : ${{ github.event.repository.name }}
23
+ tag : ${{ github.sha }}
24
+ branch : ${{ github.ref }}
25
+ basic_auth : ${{ secrets.BASIC_PW }}
26
+ gpg_key : ${{ secrets.GPG_ACTION_PASSPHRASE }}
Original file line number Diff line number Diff line change
1
+ isEnabled : true
2
+ image :
3
+ preset : node
4
+ build :
5
+ command : npm install
6
+ run :
7
+ command : npm start
8
+ envs :
9
+ - name : DATAWRAPPER_API_KEY
10
+ value : ' sm://{{.projectId}}/datawrapper-api-key'
11
+ settings :
12
+ type : cronjob
13
+ schedule : 0 4,15 * * *
14
+ concurrencyPolicy : Replace
You can’t perform that action at this time.
0 commit comments