58
58
outputs :
59
59
deployment_url : ${{ steps.deployment-url.outputs.url }}
60
60
steps :
61
- - uses : actions/checkout@v3.5.2
61
+ - uses : actions/checkout@v4.1.4
62
62
63
63
with :
64
64
node-version : " 20"
@@ -79,11 +79,10 @@ jobs:
79
79
echo "url=https://${SUBDOMAIN}${{ inputs.domain_name }}" >> $GITHUB_OUTPUT
80
80
81
81
- name : Setup AWS Credentials for Registry Bucket Access
82
- uses : aws-actions/configure-aws-credentials@v2 .0.0
82
+ uses : aws-actions/configure-aws-credentials@v4 .0.2
83
83
with :
84
84
aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID_FRONTEND_REGISTRY }}
85
- aws-secret-access-key :
86
- ${{ secrets.AWS_SECRET_ACCESS_KEY_FRONTEND_REGISTRY }}
85
+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY_FRONTEND_REGISTRY }}
87
86
aws-region : eu-west-1
88
87
89
88
- name : Download & Unpack Bundle
92
91
mkdir ${{ inputs.bundle_dir }} && tar -xvzf bundle.tar.gz -C ${{ inputs.bundle_dir }}
93
92
94
93
- name : Setup AWS Credentials for Origin Bucket Access
95
- uses : aws-actions/configure-aws-credentials@v2 .0.0
94
+ uses : aws-actions/configure-aws-credentials@v4 .0.2
96
95
with :
97
96
aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
98
97
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -122,12 +121,12 @@ jobs:
122
121
123
122
- name : Update .well-known Files If Exists
124
123
run : |
125
- aws s3 cp \
126
- s3://${{ inputs.bucket_name }}/html/${{ inputs.tree_hash }}/.well-known/apple-app-site-association \
127
- s3://${{ inputs.bucket_name }}/html/${{ inputs.tree_hash }}/.well-known/apple-app-site-association \
128
- --content-type 'application/json' \
129
- --cache-control 'public,max-age=3600' \
130
- --metadata-directive REPLACE || echo "Failed updating .well-known files"
124
+ aws s3 cp \
125
+ s3://${{ inputs.bucket_name }}/html/${{ inputs.tree_hash }}/.well-known/apple-app-site-association \
126
+ s3://${{ inputs.bucket_name }}/html/${{ inputs.tree_hash }}/.well-known/apple-app-site-association \
127
+ --content-type 'application/json' \
128
+ --cache-control 'public,max-age=3600' \
129
+ --metadata-directive REPLACE || echo "Failed updating .well-known files"
131
130
132
131
- name : Update Cursor File
133
132
id : cursor-update
@@ -147,7 +146,7 @@ jobs:
147
146
]
148
147
149
148
- name : Upload Deployed Bundle as Artifact
150
- uses : actions/upload-artifact@v3.1.2
149
+ uses : actions/upload-artifact@v4.3.3
151
150
with :
152
151
name : bundle-${{ inputs.tree_hash }}-${{ inputs.environment }}
153
152
path : bundle.tar.gz
0 commit comments