forked from data.coop/website
Compare commits
10 Commits
f4daf56245
...
943a6ed79e
Author | SHA1 | Date |
---|---|---|
Benjamin Bach | 943a6ed79e | |
benjaoming | 3519e9d841 | |
benjaoming | 96f127aee0 | |
Sam A. | 1a46bf02d3 | |
Sam A. | 84f78ee052 | |
Sam A. | cecf3a26a7 | |
Sam A. | fe0131dd9b | |
Sam A. | 3c692301e1 | |
Sam A. | d71d58f9c6 | |
Benjamin Bach | 3177b1f6f8 |
40
.drone.yml
40
.drone.yml
|
@ -2,7 +2,7 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build_stable
|
||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
commands:
|
commands:
|
||||||
- apt-get update; apt-get upgrade -y
|
- apt-get update; apt-get upgrade -y
|
||||||
|
@ -10,8 +10,24 @@ steps:
|
||||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.111.2/hugo_extended_0.111.2_linux-amd64.deb -O hugo.deb
|
- wget https://github.com/gohugoio/hugo/releases/download/v0.111.2/hugo_extended_0.111.2_linux-amd64.deb -O hugo.deb
|
||||||
- dpkg -i hugo.deb
|
- dpkg -i hugo.deb
|
||||||
- hugo --destination _site/
|
- hugo --destination _site/
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
- name: docker
|
- name: build_staging
|
||||||
|
image: debian:buster-slim
|
||||||
|
commands:
|
||||||
|
- apt-get update; apt-get upgrade -y
|
||||||
|
- apt-get install -y wget git
|
||||||
|
- wget https://github.com/gohugoio/hugo/releases/download/v0.111.2/hugo_extended_0.111.2_linux-amd64.deb -O hugo.deb
|
||||||
|
- dpkg -i hugo.deb
|
||||||
|
- hugo --baseURL "https://staging.data.coop" --destination _site/
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- staging
|
||||||
|
|
||||||
|
# stable site
|
||||||
|
- name: docker_stable
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: docker.data.coop/data-coop-website
|
repo: docker.data.coop/data-coop-website
|
||||||
|
@ -30,6 +46,26 @@ steps:
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
|
# staging site
|
||||||
|
- name: docker_staging
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: docker.data.coop/data-coop-website
|
||||||
|
registry: docker.data.coop
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
||||||
|
tags:
|
||||||
|
- "${DRONE_BUILD_NUMBER}"
|
||||||
|
- "staging"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- staging
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
baseURL: https://new.data.coop
|
baseURL: https://data.coop
|
||||||
|
|
||||||
copyright: CC-BY, see https://creativecommons.org/licenses/by/4.0/
|
copyright: CC-BY, see https://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ title: Welcome to data.coop
|
||||||
---
|
---
|
||||||
|
|
||||||
data.coop is a cooperative, which owns and operates a digital infrastructure for its members. Our fundamental vision is to protect our members' data.
|
data.coop is a cooperative, which owns and operates a digital infrastructure for its members. Our fundamental vision is to protect our members' data.
|
||||||
|
The community consists of members around the Copenhagen-area and is open to inquiries from abroad to start sister infrastructures based on the same principles.
|
||||||
|
|
||||||
Our core principles are:
|
Our core principles are:
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ title: "About"
|
||||||
|
|
||||||
**data.coop** is an association and a cooperative.
|
**data.coop** is an association and a cooperative.
|
||||||
|
|
||||||
|
The community consists of members around the Copenhagen-area and is open to inquiries from abroad to start sister infrastructures based on the same principles.
|
||||||
|
If you are interested in becoming a member of data.coop but you are not able to participate in physical meetings in Copenhagen, we encourage that you get in touch with us about a vision you have for your community, rather than signing up as a member.
|
||||||
|
|
||||||
We — the members of the cooperative — own our own data.
|
We — the members of the cooperative — own our own data.
|
||||||
|
|
||||||
In practice, this means that:
|
In practice, this means that:
|
||||||
|
|
|
@ -9,7 +9,7 @@ Governance resembles any classic association: We have legal statutes and formal
|
||||||
You need to read our [statutes](/rights/) and our
|
You need to read our [statutes](/rights/) and our
|
||||||
[Acceptable Usage Policy (AUP)](https://git.data.coop/data.coop/dokumenter/src/branch/main/Acceptable%20Usage%20Policy.md)
|
[Acceptable Usage Policy (AUP)](https://git.data.coop/data.coop/dokumenter/src/branch/main/Acceptable%20Usage%20Policy.md)
|
||||||
before becoming a member.
|
before becoming a member.
|
||||||
If you have questions, you can find us on [Matrix og IRC](/about/) or [send an email to the board](mailto:board@data.coop).
|
If you have questions, you can find us on [Matrix or IRC](/about/) or [send an email to the board](mailto:board@data.coop).
|
||||||
|
|
||||||
*English speakers:* We would love to have you as a member.
|
*English speakers:* We would love to have you as a member.
|
||||||
Many parts of this organization are already in English,
|
Many parts of this organization are already in English,
|
||||||
|
|
|
@ -6,10 +6,7 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile_hugo
|
dockerfile: Dockerfile_hugo
|
||||||
command: |
|
command: |
|
||||||
/bin/bash -c "
|
/bin/bash -c "cd /code && hugo serve"
|
||||||
cd /code
|
network_mode: host
|
||||||
hugo serve
|
|
||||||
"
|
|
||||||
network_mode: "host"
|
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
|
|
Loading…
Reference in New Issue