Skip to content

Commit

Permalink
debug aws failure
Browse files Browse the repository at this point in the history
  • Loading branch information
norm committed Aug 13, 2021
1 parent 402ad4c commit 6efd369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- name: Install sass
run: pip install libsass==0.21.0
run: pip install libsass==0.21.0 awscli==1.20.20
- name: Produce production CSS
run: ./update_css

Expand Down
1 change: 1 addition & 0 deletions update_css
Expand Up @@ -9,6 +9,7 @@ if [ "${HASWORN_ENV:-prod}" = 'dev' ]; then
fi

sha=$( shasum -a 256 /tmp/static.css | cut -c1-7 )
which aws
aws s3 cp \
--acl public-read \
--cache-control "max-age=31536000, immutable" \
Expand Down

0 comments on commit 6efd369

Please sign in to comment.