Update ci
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dominic Grimm 2022-11-13 19:15:53 +01:00
parent 16a21ee075
commit 55afb91ece
No known key found for this signature in database
GPG Key ID: 6F294212DEAAC530
1 changed files with 5 additions and 8 deletions

View File

@ -140,14 +140,11 @@ steps:
- name: pages
path: /tmp/pages
commands:
# - git clone --depth 1 --branch pages https://git.dergrimm.net/mentorenwahl/mentorenwahl.git /tmp/pages_old
- git pull
- git branch
- ls -la
# - cp -r /tmp/pages_old/.git /tmp/pages
# - cp -r ./docs/book/* /tmp/pages
# - mkdir -p /tmp/pages/_api/backend
# - cp -r ./backend/docs/* /tmp/pages/_api/backend
- git clone --depth 1 --branch pages https://git.dergrimm.net/mentorenwahl/mentorenwahl.git /tmp/pages_old
- cp -r /tmp/pages_old/.git /tmp/pages
- cp -r ./docs/book/* /tmp/pages
- mkdir -p /tmp/pages/_api/backend
- cp -r ./backend/docs/* /tmp/pages/_api/backend
depends_on:
- restore-cache
- name: deploy-pages