deploy only
This commit is contained in:
parent
5bbe60e577
commit
9773b343f5
1 changed files with 5 additions and 13 deletions
|
|
@ -17,21 +17,13 @@ test:
|
||||||
except:
|
except:
|
||||||
- butter-box
|
- butter-box
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get install -y zip
|
|
||||||
- bundle exec jekyll build -d butter-site
|
|
||||||
- zip -r content.zip butter-site
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- content.zip
|
|
||||||
only:
|
|
||||||
- butter-box
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y zip
|
||||||
|
- bundle exec jekyll build
|
||||||
|
- zip -r content.zip _site
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- content.zip
|
- content.zip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue