mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
deploy updates
This commit is contained in:
parent
4d53c82be5
commit
ab814e5bd7
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
with:
|
with:
|
||||||
name: public
|
name: public
|
||||||
path: public
|
path: public/
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -11,7 +11,7 @@ SITEMAP_URL="https%3A%2F%2Fkremalicious.com%2Fsitemap.xml"
|
|||||||
set -e;
|
set -e;
|
||||||
|
|
||||||
function s3sync {
|
function s3sync {
|
||||||
aws s3 sync public s3://"$1" \
|
aws s3 sync ../public s3://"$1" \
|
||||||
--include "*" \
|
--include "*" \
|
||||||
--exclude "*.html" \
|
--exclude "*.html" \
|
||||||
--exclude "sw.js" \
|
--exclude "sw.js" \
|
||||||
@ -28,7 +28,7 @@ function s3sync {
|
|||||||
--delete \
|
--delete \
|
||||||
--acl public-read
|
--acl public-read
|
||||||
|
|
||||||
aws s3 sync public s3://"$1" \
|
aws s3 sync ../public s3://"$1" \
|
||||||
--exclude "*" \
|
--exclude "*" \
|
||||||
--include "*.html" \
|
--include "*.html" \
|
||||||
--include "sw.js" \
|
--include "sw.js" \
|
||||||
|
Loading…
Reference in New Issue
Block a user