parent
bebfd5203e
commit
cea6260a86
@ -22,14 +22,17 @@ jobs:
|
||||
- name: Build 11ty site
|
||||
run: npm run build
|
||||
|
||||
- name: Check folders
|
||||
run: ls -lh /
|
||||
- name: Check workspace folder
|
||||
run: ls -lh
|
||||
|
||||
- name: Check www folder
|
||||
run: ls -lh /www
|
||||
|
||||
- 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 /_site/. /www/${{ gitea.event.repository.name }}
|
||||
|
||||
- name: Fix ownership
|
||||
run: chown -R www-data:www-data /www/${{ gitea.event.repository.name }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user