Compare commits

...

10 Commits

6 changed files with 46 additions and 9 deletions

View File

@ -2,7 +2,7 @@ kind: pipeline
name: default
steps:
- name: build
- name: build_stable
image: debian:buster-slim
commands:
- 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
- dpkg -i hugo.deb
- 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
settings:
repo: docker.data.coop/data-coop-website
@ -30,6 +46,26 @@ steps:
exclude:
- 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
image: plugins/matrix
settings:

View File

@ -1,4 +1,4 @@
baseURL: https://new.data.coop
baseURL: https://data.coop
copyright: CC-BY, see https://creativecommons.org/licenses/by/4.0/

View File

@ -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.
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:

View File

@ -4,6 +4,9 @@ title: "About"
**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.
In practice, this means that:

View File

@ -9,7 +9,7 @@ Governance resembles any classic association: We have legal statutes and formal
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)
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.
Many parts of this organization are already in English,

View File

@ -6,10 +6,7 @@ services:
context: .
dockerfile: Dockerfile_hugo
command: |
/bin/bash -c "
cd /code
hugo serve
"
network_mode: "host"
/bin/bash -c "cd /code && hugo serve"
network_mode: host
volumes:
- .:/code