Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
fix: enable workflow search to download outputs artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Sep 29, 2024
1 parent f29dab2 commit 3c060dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
- name: Download Outputs Artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow_search: true
path: terraform/
workflow: deploy.yaml
workflow_search: false

- name: Read
id: read_info
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ jobs:
run: |
cd terraform/
PUBLIC_IP=$(terraform output -raw public_ip)
RDS_ENDPOINT=$(terraform output -raw db_instance_endpoint)
RDS_PASSWORD=$(terraform output -raw db_instance_password)
echo $PUBLIC_IP > ec2_public_ip.txt
echo $RDS_ENDPOINT > rds_endpoint.txt
echo $RDS_PASSWORD > rds_password.txt
- name: Upload Outputs as Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3c060dd

Please sign in to comment.