Switch to datalad-clone-action #33

Open
mih wants to merge 1 commit from clone into main

View file

@ -3,12 +3,11 @@ name: Deploy on webserver
on:
push:
branches:
- main
- clone
jobs:
deploy:
name: Build site with pelican and deploy on success
# TODO maybe have dedicated build env
runs-on: psyinf-pelican-site-build
container:
volumes:
@ -16,15 +15,10 @@ jobs:
- /home/www/srv:/www:rw
steps:
- name: Checkout
# TODO switch to datalad clone action, when it can do authentication
#uses: https://hub.datalad.org/forgejo/datalad-clone-action@v1
#with:
# recursive: true
# #get_content: themes content
uses: actions/checkout@v4
uses: https://hub.datalad.org/forgejo/datalad-clone-action@v1
with:
submodules: true
fetch-depth: 0
recursive: true
get_content: dummy pelican-plugins/sitemap theme content
- name: Setup build environment
shell: bash