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 4242 uses : appleboy/scp-action@master
4343 env :
4444 USERNAME : ${{ secrets.AWS_EC2_USER }}
45- HOST : ${{ secrets.STAGE_BACKEND_URL }}
45+ HOST : ${{ secrets.STAGE_UI_URL }}
4646 KEY : ${{ secrets.STAGE_AWS_PRIVATE_KEY }}
4747 with :
4848 source : ' ./infrastructure/aws_ec2.sh'
5353 TEMP=$(mktemp)
5454 echo "${{ secrets.STAGE_AWS_PRIVATE_KEY }}" > $TEMP
5555 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