generated from michplunkett/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Use GCP Triggers to deploy to App Engine (#44)"
This reverts commit a95debb.
- Loading branch information
1 parent
4b1465c
commit dcecaac
Showing
4 changed files
with
72 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Deploy to App Engine | ||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
deploy: | ||
name: Deploying to Google Cloud | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- uses: google-github-actions/auth@v2 | ||
with: | ||
credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}' | ||
project_id: '${{ secrets.GCP_PROJECT_ID }}' | ||
|
||
- name: Deploy to App Engine | ||
id: deploy | ||
uses: 'google-github-actions/deploy-appengine@v2' | ||
|
||
# Example of using the output | ||
- name: Testing Status Endpoint | ||
id: test | ||
run: 'curl "${{ steps.deploy.outputs.version_url }}/status"' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters