Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
integrationninjas authored Feb 12, 2024
1 parent 83a65c4 commit 01e9a95
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,22 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v4
# - name: Set Node.js 16.x
# uses: actions/setup-node@v3
# with:
# node-version: 16.x
# - name: Install Dependencies
# run : npm install
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run : npm install
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: google-github-actions/auth@v2
with:
# token_format: access_token
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
# audience: '//iam.googleapis.com/projects/296259488719/locations/global/workloadIdentityPools/test/providers/github'
- id: 'deploy'
name: Deploy to Google App Engine
uses: 'google-github-actions/deploy-appengine@v2'

- id: 'test'
name: AppEngine Service URL
run: 'curl "${{ steps.deploy.outputs.version_url }}"'

0 comments on commit 01e9a95

Please sign in to comment.