Skip to content

Commit

Permalink
chore: add support for true string variables in dev and staging
Browse files Browse the repository at this point in the history
  • Loading branch information
vicradon committed Aug 11, 2024
1 parent 5ef8046 commit 9a294ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Create app.env file
uses: vicradon/create-env-action@v1.0.0
uses: vicradon/create-env-action@v1.0.1
with:
action_input_file: "app-sample.env"
action_output_file: "app.env"
action_true_string_variables: |
MAIL_PASSWORD
APP_NAME: "development"
APP_URL: "https://deployment.api-golang.boilerplate.hng.tech"
SERVER_PORT: ${{ secrets.SERVER_PORT }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Create app.env file
uses: vicradon/create-env-action@v1.0.0
uses: vicradon/create-env-action@v1.0.1
with:
action_input_file: "app-sample.env"
action_output_file: "app.env"
action_true_string_variables: |
MAIL_PASSWORD
APP_NAME: "staging"
APP_URL: "https://staging.api-golang.boilerplate.hng.tech"
SERVER_PORT: ${{ secrets.SERVER_PORT }}
Expand Down

0 comments on commit 9a294ee

Please sign in to comment.