This GitHub action allows you to update secrets on GCP
- uses: actions/checkout@v3
- name: update secret
uses: ruben-baez-mojix-com/[email protected]
with:
path: config/config.json
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
SECRET_ID: ${{ secrets.SECRET_ID }}
KEYFILE: ${{ secrets.SERVICE_ACCOUNT }}
Required Parameters:
path
: File with secret content to be updated
Environmetal variables:
PROJECT_ID
: GCP project idSECRET_ID
: GCP secret id (name)KEYFILE
: service account to gcp auth
message
: Result of updated