-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
For a specific reason, I need to set a secret env variable on a cloud function, manually. But when I deploy the new code of the function via a github action, my manually set env variables are removed.
How to ignore those variable to let them as is?
Expected behavior
Manually set env variable to be preserved even after an automated deployment
Observed behavior
Manually set secret env variable are removed after the run of the github actions
Action YAML
- name: Deploy sendEmail
uses: google-github-actions/deploy-cloud-functions@main
with:
name: sendEmailNotification
runtime: python39
entry_point: sendEmailNotification
region: europe-west1Additional information
I didn't find any info in the doc about this behavior, it's specified for env variable but not secret variables
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working