Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adzz/deploy_to_gae_action

A github action which runs a given gcloud command.
https://github.com/adzz/deploy_to_gae_action

continuous-delivery continuous-integration docker gae gcloud gcloud-sdk gcp github-actions google-app-engine google-cloud-platform

Last synced: about 7 hours ago
JSON representation

A github action which runs a given gcloud command.

Awesome Lists containing this project

README

        

# Run gcloud commands

Allows you to run `gcloud` commands in github actions. It will authorize you via a service account and run the given command on the given project.

This is useful for deploying for example:

```yaml
name: Checkout! Deploy! Rejoice!
on:
push:
branches:
- master

jobs:
deploy_to_gae:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: deploy
uses: Adzz/[email protected]
with:
credentials: ${{ secrets.SERVICE_ACCOUNT }}
project: ${{ secrets.GAE_PROJECT }}
command: app deploy --quiet --promote
```