Skip to content

Commit

Permalink
chore: use env variables for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Jan 2, 2024
1 parent 828e3ae commit 6a32c4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ jobs:
- name: Deploy to Cloud Foundry
uses: ./.github/templates/cf-push
with:
endpoint: ${{ env.CF_ENDPOINT }}
org: ${{ env.CF_ORG }}
username: ${{ env.CF_USERNAME }}
endpoint: ${{ vars.CF_ENDPOINT }}
org: ${{ vars.CF_ORG }}
username: ${{ vars.CF_USERNAME }}
password: ${{ secrets.CF_PASSWORD }}
# we need to define a fallback value here because the default for the input
# is only assigned when the workflow is triggered manually. When triggered e.g. on push
Expand All @@ -95,9 +95,9 @@ jobs:
- name: Deploy to Cloud Foundry
uses: ./.github/templates/cf-push
with:
endpoint: ${{ env.CF_ENDPOINT }}
org: ${{ env.CF_ORG }}
username: ${{ env.CF_USERNAME }}
endpoint: ${{ vars.CF_ENDPOINT }}
org: ${{ vars.CF_ORG }}
username: ${{ vars.CF_USERNAME }}
password: ${{ secrets.CF_PASSWORD }}
# we need to define a fallback value here because the default for the input
# is only assigned when the workflow is triggered manually. When triggered e.g. on push
Expand Down

0 comments on commit 6a32c4d

Please sign in to comment.