Testing workflow

This commit is contained in:
suroh 2025-03-05 21:17:46 +01:00
parent bebfd5203e
commit 6ae353ea41

@ -22,14 +22,17 @@ jobs:
- name: Build 11ty site
run: npm run build
- name: Check folders
run: ls -lh /
- name: Check www folder
run: ls -lh /www
- name: Check workspace folder
run: ls -lh /workspace
- name: Create folder if needed
run: if [ ! -d /www/${{ gitea.event.repository.name }} ]; then mkdir /www/${{ gitea.event.repository.name }}; fi
- name: Copy built website
run: cp -r _site/. /www/${{ gitea.event.repository.name }}
run: cp -r /workspace/_site/. /www/${{ gitea.event.repository.name }}
- name: Fix ownership
run: chown -R www-data:www-data /www/${{ gitea.event.repository.name }}