Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add pull and run
  • Loading branch information
mmaquina committed Mar 16, 2023
commit 858f66a5c08065b518e55ce8d3d066b315e8a6ef
6 changes: 3 additions & 3 deletions .github/workflows/aws-ui-cd-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: appleboy/scp-action@master
env:
USERNAME: ${{ secrets.AWS_EC2_USER }}
HOST: ${{ secrets.STAGE_BACKEND_URL }}
HOST: ${{ secrets.STAGE_UI_URL }}
KEY: ${{ secrets.STAGE_AWS_PRIVATE_KEY }}
with:
source: './infrastructure/aws_ec2.sh'
Expand All @@ -53,5 +53,5 @@ jobs:
TEMP=$(mktemp)
echo "${{ secrets.STAGE_AWS_PRIVATE_KEY }}" > $TEMP
chmod 400 $TEMP
ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_BACKEND_URL }} "chmod +x ./infrastructure/aws_ec2.sh"
ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_BACKEND_URL }} "./infrastructure/aws_ec2.sh $RELEASE_VERSION" stage
ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_UI_URL }} "chmod +x ./infrastructure/aws_ec2.sh"
ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_UI_URL }} "./infrastructure/aws_ec2.sh $RELEASE_VERSION" stage