Skip to content

Update Google Cloud Functions (daily) #424

Update Google Cloud Functions (daily)

Update Google Cloud Functions (daily) #424

name: Update Google Cloud Functions (daily)
on:
workflow_dispatch:
schedule:
- cron: '0 15 * * *'
jobs:
update-neco-dev:
name: Update neco-dev project
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.NECO_DEV_SERVICE_ACCOUNT }}
- uses: google-github-actions/setup-gcloud@v1
- run: make -f Makefile.dctest delete-function
continue-on-error: true
- run: make -f Makefile.dctest deploy-function
- run: make -f Makefile.slack delete-function
continue-on-error: true
- run: make -f Makefile.slack deploy-function
update-neco-test:
name: Update neco-test project
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.NECO_TEST_SERVICE_ACCOUNT }}
- uses: google-github-actions/setup-gcloud@v1
- run: make -f Makefile.instancedel delete-extend-function
continue-on-error: true
- run: make -f Makefile.instancedel delete-shutdown-function
continue-on-error: true
- run: make -f Makefile.instancedel deploy-extend-function
- run: make -f Makefile.instancedel deploy-shutdown-function