hackerbots-live/.woodpecker.yml
2023-03-10 11:58:21 +01:00

24 lines
551 B
YAML

pipeline:
build:
image: plugins/docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
settings:
registry: gitea.malloc.hackerbots.net
repo: gitea.malloc.hackerbots.net/tdfischer/hackerbots-live
daemon_off: true
auto_tag: true
tags: latest
username:
from_secret: GITEA_USERNAME
password:
from_secret: GITEA_PASSWORD
deploy:
when:
branch: master
image: alpine:3.13
volumes:
- /var/web/live/:/deploy
commands:
- cp index.html /deploy