leuchttuerme-ostsee/.drone.yml

21 lines
381 B
YAML
Raw Normal View History

2022-10-14 14:11:06 +00:00
kind: pipeline
name: default
steps:
- name: build
image: klakegg/hugo:0.101.0
commands:
- hugo build
- ls -la
2022-10-14 14:19:42 +00:00
- ls -lah public
- name: release
image: docker:git
commands:
- mkdir /tmp/webpage
- cp -R public/* /tmp/webpage
2022-10-14 14:21:21 +00:00
- git branch webpage
2022-10-14 14:20:30 +00:00
- git checkout -b webpage
2022-10-14 14:19:42 +00:00
- git pull origin webpage
- rm -r -f *
- cp -R /tmp/webpage/* ./
- ls -lah