File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 42
42
uses : appleboy/scp-action@master
43
43
env :
44
44
USERNAME : ${{ secrets.AWS_EC2_USER }}
45
- HOST : ${{ secrets.STAGE_BACKEND_URL }}
45
+ HOST : ${{ secrets.STAGE_UI_URL }}
46
46
KEY : ${{ secrets.STAGE_AWS_PRIVATE_KEY }}
47
47
with :
48
48
source : ' ./infrastructure/aws_ec2.sh'
53
53
TEMP=$(mktemp)
54
54
echo "${{ secrets.STAGE_AWS_PRIVATE_KEY }}" > $TEMP
55
55
chmod 400 $TEMP
56
- ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_BACKEND_URL }} "chmod +x ./infrastructure/aws_ec2.sh"
57
- ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_BACKEND_URL }} "./infrastructure/aws_ec2.sh $RELEASE_VERSION" stage
56
+ ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_UI_URL }} "chmod +x ./infrastructure/aws_ec2.sh"
57
+ ssh -o 'StrictHostKeyChecking no' -i $TEMP ${{ secrets.AWS_EC2_USER }}@${{ secrets.STAGE_UI_URL }} "./infrastructure/aws_ec2.sh $RELEASE_VERSION" stage
You can’t perform that action at this time.
0 commit comments