Added gitlabci settings
This commit is contained in:
parent
b51410d901
commit
cfbe724c4f
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# .gitlab-ci.yml
|
||||||
|
image: publysher/hugo
|
||||||
|
|
||||||
|
|
||||||
|
production:
|
||||||
|
type: deploy
|
||||||
|
before_script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -qq install python python-pip ca-certificates
|
||||||
|
- pip install awscli
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
- aws s3 sync public/ s3://$AWS_BUCKET
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in a new issue