Update .gitlab-ci.yml
This commit is contained in:
1 parent
c9b40e3429
commit
4a930cfb57
1 file changed
-12
@@ -14,15 +14,3 @@ build website:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
deploy to s3:
|
|
||||||
stage: deploy
|
|
||||||
image:
|
|
||||||
name: amazon/aws-cli
|
|
||||||
entrypoint: [""]
|
|
||||||
script:
|
|
||||||
- hexo clean
|
|
||||||
- hexo generate # Hexo generate Static Site
|
|
||||||
- aws --version
|
|
||||||
- aws s3 rm s3://$S3_BUCKET --recursive
|
|
||||||
- aws s3 cp public s3://$S3_BUCKET --recursive
|
|
||||||
Reference in new issue
Block a user