Skip to content

Instantly share code, notes, and snippets.

@joshmedeski
Created March 8, 2021 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshmedeski/8afebec459060c1bb87d2e707a2cea04 to your computer and use it in GitHub Desktop.
Save joshmedeski/8afebec459060c1bb87d2e707a2cea04 to your computer and use it in GitHub Desktop.
Deploying a GraphQL server through Google Cloud App Engine with GitHub Actions
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