Init pages
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominic Grimm 2023-08-05 17:59:48 +02:00
parent b753895119
commit e3654bda81

View file

@ -54,8 +54,6 @@ steps:
volumes:
- name: cache
path: /cache
- 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
@ -63,15 +61,32 @@ steps:
# - mkdir -p /tmp/pages/_api/backend
# - cp -r ./backend/docs/* /tmp/pages/_api/backend
- ls -la
- git checkout pages
- shopt -s extglob; rm -rf !(.git)
- ls -la
depends_on:
- restore-cache
# - name: deploy-pages
# image: appleboy/drone-git-push
# volumes:
# - name: pages
# path: /tmp/pages
# settings:
# remote:
# from_secret: deploy_remote
# force: false
# commit: true
# commit_message: "[CI] Deploy pages"
# branch: pages
# local_ref: pages
# path: /tmp/pages
# depends_on:
# - prepare-pages
volumes:
- name: cache
host:
path: /tmp/cache
- name: pages
temp: {}
depends_on:
- default