Update .gitlab-ci.yml

This commit is contained in:
Leon Xu committed 2021-07-22 22:32:23 +00:00
1 parent c9b40e3429
commit 4a930cfb57
1 file changed
-12
-12
View File
@@ -14,15 +14,3 @@ build website:
artifacts:
paths:
- 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