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 - name: pages
path: /tmp/pages path: /tmp/pages
commands: commands:
- git clone --depth 1 --branch pages https://git.dergrimm.net/mentorenwahl/mentorenwahl.git /tmp/pages_old # - git clone --depth 1 --branch pages https://git.dergrimm.net/mentorenwahl/mentorenwahl.git /tmp/pages_old
- cp -r /tmp/pages_old/.git /tmp/pages - git checkout pages
- cp -r ./docs/book/* /tmp/pages - ls -la
- mkdir -p /tmp/pages/_api/backend # - cp -r /tmp/pages_old/.git /tmp/pages
- cp -r ./backend/docs/* /tmp/pages/_api/backend # - cp -r ./docs/book/* /tmp/pages
# - mkdir -p /tmp/pages/_api/backend
# - cp -r ./backend/docs/* /tmp/pages/_api/backend
depends_on: depends_on:
- restore-cache - restore-cache
- name: deploy-pages - name: deploy-pages