Created
March 8, 2021 03:27
-
-
Save joshmedeski/8afebec459060c1bb87d2e707a2cea04 to your computer and use it in GitHub Desktop.
Deploying a GraphQL server through Google Cloud App Engine with GitHub Actions
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
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "graphql/**" | |
- ".github/workflows/graphql.yml" | |
jobs: | |
deploy: | |
name: Deploy to Google Cloud App Engine | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- id: Deploy | |
uses: google-github-actions/deploy-appengine@main | |
with: | |
project_id: ${{ secrets.GCP_PROJECT_ID }} | |
credentials: ${{ secrets.GCP_SA_KEY }} | |
working_directory: graphql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment