Skip to content

Commit

Permalink
Try different approach for output. (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zifah authored Aug 7, 2024
1 parent bf679b0 commit 3170630
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/api-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ jobs:
runs-on: ubuntu-latest
environment: staging
outputs:
api_service_name: ${{ steps.set-vars.outputs.api_service_name }}
api_service_path: ${{ steps.set-vars.outputs.api_service_path }}
api_service_name: ${{ vars.API_SERVICE_NAME }}
api_service_path: ${{ vars.API_SERVICE_PATH }}
steps:
- name: Set Environment Variables
id: set-vars
run: |
echo "api_service_name=${{ vars.API_SERVICE_NAME }}" >> $GITHUB_OUTPUT
echo "api_service_path=${{ vars.API_SERVICE_PATH }}" >> $GITHUB_OUTPUT
- run: |
echo "Exposing ENV vars to reusable workflows."
deploy:
needs: fetch-vars
Expand Down

0 comments on commit 3170630

Please sign in to comment.