Update ci
All checks were successful
continuous-integration/drone/push Build is passing

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

View file

@ -140,14 +140,11 @@ 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
- git pull - cp -r /tmp/pages_old/.git /tmp/pages
- git branch - 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