-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hey,
thanks for that nice little action. Love it.
In my current workflow, I need to create a .env file and manually call ~/.deta/bin/deta update -e .env
to propagate current environment variables to a deployed micro.
It's not that big of a deal, but maybe this action could ease that up.
Suggestion
Add a deta-update-env flag:
deta-update-env is a path to a .env file, that does nothing more than running deta update -e with the given parameter as argument. (See https://docs.deta.sh/docs/micros/env_vars/)
I would suggest that you'd have to explicitly enable it by passing a string.
name: Deploy to Deta
on: push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: BogDAAAMN/[email protected]
with:
deta-update-env: '.env' # Optional: environment file to be deployed to Deta. Defaults to '', which disables this. See https://docs.deta.sh/docs/micros/env_vars/
If you like me to, I can figure out a PR as well.
Metadata
Metadata
Assignees
Labels
No labels