Add environment variables using action inputs
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reviewing the reusable GitHub Action workflow and the proposed environment-variable step in the issue, then inspect linked pull request #21. Confirm how action inputs, variables, and secrets are currently exposed before implementing the deployment update. Done means configured environment variables are applied during deployment without breaking the existing action flow.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In some cases, an environment variable is necessary for the app to deploy/run correctly (e.g DB credentials).
I suggest adding a separate step right after creating the app that might look like this.
The condition for when to run this step can also depend on whether any ENV_VARIABLEs have been configured
- name: Set up DE application environment
shell: bash
if: github.event.action != 'closed'
run: |
IFS = $VAR_SEPERATOR
for env in $(read -ra env <<< $ENV_VARIABLES) ; do
de --no-keyfile apps update --name ${{ env.APP_NAME }} --add-environment-variable $env
done
env:
DASH_ENTERPRISE_HOST: ${{ vars.DASH_ENTERPRISE_URL }}
DASH_ENTERPRISE_USERNAME: ${{ vars.DASH_ENTERPRISE_USERNAME }}
DASH_ENTERPRISE_PASSWORD: ${{ secrets.DASH_ENTERPRISE_PASSWORD }}
APP_NAME: ${{ vars.APP_NAME }}
ENV_VARIABLES: ${{ secrets.ENV_VARIABLES }}
VAR_SEPERATOR: ${{ vars.VAR_SEPERATOR }}
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 4
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plotly/de-deploy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Support multiple instances Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Add support for DE4 Aperta
Tutte le issue di plotly/de-deploy
Issue simili
-
kind/bug needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
matrixorigin/matrixone#29223 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
copse-dev/agent-pane#2953 ·
-
bug ci-failure high priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vllm-project/vllm-omni#7972 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
simonw/sqlite-utils#872 ·
-
bug good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
amponce/archive-movie-browser#166 ·