Skip to content

Make env vars work with config #9

Make env vars work with config

Make env vars work with config #9

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Deploy
uses: DefangLabs/defang-github-action@env-vars
with:
cliVersion: v0.5.36
configEnvVars: "DEFANG_GH_ACTION_TEST_MESSAGE"
cwd: "./test"
env:
DEFANG_GH_ACTION_TEST_MESSAGE: ${{ secrets.MESSAGE }}
DEFANG_INTERNAL_TEST: dfng-test
- name: Teardown
run: defang config rm DEFANG_GH_ACTION_TEST_MESSAGE