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