File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,17 +51,17 @@ jobs:
5151 runs-on : ubuntu-latest
5252 outputs :
5353 deploy_dir : ${{ steps.deploy_dir.outputs.deploy_dir }}
54- public_url : ${{ steps.public_url.output .public_url }}
54+ public_url : ${{ steps.public_url.outputs .public_url }}
5555 steps :
56- - id : safe_ref_name
57- run :
58- echo "::set-output name=safe_ref_name::${GITHUB_REF_NAME//\//_}"
59- - id : deploy_dir
60- run :
61- echo "::set-output name=deploy_dir::${{inputs.prefix}}/${{steps.safe_ref_name.outputs.safe_ref_name}}"
62- - id : public_url
63- run :
64- echo "::set-output name=public_url::${{inputs.base_url}}/${{steps.deploy_dir.outputs.deploy_dir}}"
56+ - id : safe_ref_name
57+ run :
58+ echo "::set-output name=safe_ref_name::${GITHUB_REF_NAME//\//_}"
59+ - id : deploy_dir
60+ run :
61+ echo "::set-output name=deploy_dir::${{inputs.prefix}}/${{steps.safe_ref_name.outputs.safe_ref_name}}"
62+ - id : public_url
63+ run :
64+ echo "::set-output name=public_url::${{inputs.base_url}}/${{steps.deploy_dir.outputs.deploy_dir}}"
6565
6666 build-deploy :
6767 runs-on : ubuntu-latest
9595 REACT_APP_LOGIN_ENABLED : ${{ inputs.react_app_login_enabled }}
9696
9797 - name : Deploy site to S3 bucket
98- run : aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET }}/${{ needs.setup-endpoint .outputs.deploy_dir }} --delete --endpoint ${{ secrets.AWS_ENDPOINT }}
98+ run : aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET }}/${{ needs.setup-environment .outputs.deploy_dir }} --delete --endpoint ${{ secrets.AWS_ENDPOINT }}
9999 env :
100100 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
101101 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments