parent
eb38c9514a
commit
97857a8c27
@ -1,19 +0,0 @@ |
||||
stages: |
||||
- deploy |
||||
|
||||
variables: |
||||
GIT_DEPTH: 1 |
||||
|
||||
|
||||
pages: |
||||
image: jekyll/jekyll:4 |
||||
stage: deploy |
||||
script: |
||||
- jekyll build -d public |
||||
- apk add gzip --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted |
||||
- gzip -v -k -6 $(find public -name '*.js' -o -name '*.html' -o -name '*.css') |
||||
artifacts: |
||||
paths: |
||||
- public |
||||
only: |
||||
- master |
@ -0,0 +1,13 @@ |
||||
FROM decentral1se/jekyll:4 |
||||
|
||||
EXPOSE 4000 |
||||
|
||||
WORKDIR /usr/src/app |
||||
|
||||
COPY . ${WORKDIR} |
||||
|
||||
RUN bundle config --global frozen 1 |
||||
|
||||
RUN bundle install |
||||
|
||||
CMD ["jekyll", "serve", "--trace"] |
@ -1,29 +1,19 @@ |
||||
[](https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/commits/master) |
||||
|
||||
# autonomic.zone |
||||
|
||||
A [Jekyll] based site for the Autonomic Cooperative. The site is based on the [spectral-jekyll-theme] template. |
||||
|
||||
master is served up to [autonomic.zone] and [autonomic-cooperative.gitlab.io]. |
||||
> https://autonomic.zone |
||||
|
||||
[Jekyll]: https://jekyllrb.com/ |
||||
A [Jekyll] based site for the Autonomic Cooperative. The site is based on the [spectral-jekyll-theme] template. |
||||
[jekyll]: https://jekyllrb.com/ |
||||
[spectral-jekyll-theme]: https://github.com/andrewbanchich/spectral-jekyll-theme |
||||
[autonomic.zone]: https://autonomic.zone/ |
||||
[autonomic-cooperative.gitlab.io]: http://autonomic-cooperative.gitlab.io/ |
||||
|
||||
# Make a change |
||||
|
||||
Work on features in branches. If you commit to master, open a merge request from your branch unless it is a tiny change. Our [pages] CI stage will push any changes on master branch to [autonomic.zone]. |
||||
|
||||
[deploy]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/d16aec42bd2ddd7449f55d9f06b03499cc660b22/.gitlab-ci.yml#L17 |
||||
|
||||
Watch the [CI/CD pipeline] to see that it builds successfully. |
||||
|
||||
[CI/CD pipeline]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/pipelines |
||||
|
||||
# Deploy |
||||
|
||||
# Contribute |
||||
|
||||
Please see [CONTRIBUTING.md] for the juicy details. It may need to be updated, so please submit patches if you discover some quirk! |
||||
Please see [CONTRIBUTING.md] for the juicy details. |
||||
|
||||
It may need to be updated, so please submit patches if you discover some quirk! |
||||
|
||||
[CONTRIBUTING.md]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/master/CONTRIBUTING.md |
||||
[contributing.md]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/master/CONTRIBUTING.md |
||||
|
Loading…
Reference in new issue