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

This commit is contained in:
Dominic Grimm 2022-11-13 19:07:48 +01:00
parent 090dcf7ea5
commit 2bcb26a4a3
No known key found for this signature in database
GPG Key ID: 6F294212DEAAC530
1 changed files with 7 additions and 5 deletions

View File

@ -140,11 +140,13 @@ steps:
- name: pages
path: /tmp/pages
commands:
- 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
# - git clone --depth 1 --branch pages https://git.dergrimm.net/mentorenwahl/mentorenwahl.git /tmp/pages_old
- git checkout pages
- 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
depends_on:
- restore-cache
- name: deploy-pages