mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2026-07-15 08:45:58 +00:00
Update for git mirror, separate dev build
This commit is contained in:
+14
-3
@@ -15,18 +15,29 @@ build site:
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
test site:
|
||||
stage: test
|
||||
script:
|
||||
- echo fake result as a placeholder
|
||||
|
||||
deploy site:
|
||||
deploy dev:
|
||||
image: garland/docker-s3cmd
|
||||
stage: deploy
|
||||
environment: production
|
||||
except:
|
||||
- master
|
||||
script:
|
||||
- export LC_ALL=C.UTF-8
|
||||
- export LANG=C.UTF-8
|
||||
- s3cmd --no-mime-magic --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY --acl-public --delete-removed --delete-after --no-ssl --host=$S3HOST --host-bucket='$S3HOSTBUCKET' sync public s3://geeks-cookbook-dev
|
||||
|
||||
deploy prod:
|
||||
image: garland/docker-s3cmd
|
||||
stage: deploy
|
||||
environment: production
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- export LC_ALL=C.UTF-8
|
||||
- export LANG=C.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user