diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a3cd337..e6854ff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,21 +13,19 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Google Cloud Authentication - uses: google-github-actions/auth@v0 + uses: google-github-actions/auth@v2 with: project_id: ${{ secrets.PROJECT_ID }} credentials_json: ${{ secrets.SERVICE_ACCOUNT_KEY }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v2 with: # probot/example-google-cloud-function credentials provided by @bcoe project_id: ${{ secrets.PROJECT_ID }} - service_account_key: ${{ secrets.SERVICE_ACCOUNT_KEY }} - export_default_credentials: true - name: Deploy to GCF run: | gcloud functions deploy example-google-cloud-function \ - --runtime nodejs12 \ + --runtime nodejs20 \ --allow-unauthenticated \ --trigger-http \ --entry-point probotApp \