File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-22.04
1111
1212 steps :
1313 - name : Checkout PR
Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212 name : Build
13- runs-on : ubuntu-latest
13+ runs-on : ubuntu-22.04
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v3
3131 run : |
3232 cd functions/tickle-bot
3333 pwd
34+ npm pkg delete scripts.build
3435 cp ./package.json __build__/
3536 cp ./package-lock.json __build__/
3637 git rev-list --count master > __build__/ccnt.txt
@@ -53,18 +54,21 @@ jobs:
5354 deploy-image :
5455 name : Deploy Ticklebot
5556 needs : build
56- runs-on : ubuntu-latest
57+ runs-on : ubuntu-22.04
5758 steps :
5859 - name : Download Build Artifact
5960 uses : actions/download-artifact@v3
6061 with :
6162 name : tc-api
6263 path : tc-api
64+ - name : Setup google auth for github actions
65+ uses : google-github-actions/auth@v1
66+ with :
67+ credentials_json : ${{ secrets.GCLOUD_AUTH }}
6368 - name : Setup gcloud Actions
64- uses : google-github-actions/setup-gcloud@v0
69+ uses : google-github-actions/setup-gcloud@v1
6570 with :
66- version : ' 397.0.0'
67- service_account_key : ${{ secrets.GCLOUD_AUTH }}
71+ version : ' 428.0.0'
6872 project_id : ${{ secrets.GCP_PROJECT_ID }}
6973 - name : write .env file
7074 run : |
Original file line number Diff line number Diff line change 11{
22 "name" : " tickle-bot" ,
3- "version" : " 2.5.3 " ,
3+ "version" : " 2.5.4 " ,
44 "description" : " Provides authenticated requests against our api" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments