This action can be used to run a kubectl command.
example usage:
name: Run gcloud version on push
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: colpal/[email protected]
env:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT: gcp-project-id
GKE_CLUSTER_NAME: cluster-name
with:
args: version