added checking if destination dir exitst
work.suroh.tk deploy / build-deploy (push) Failing after 19s
Details
work.suroh.tk deploy / build-deploy (push) Failing after 19s
Details
This commit is contained in:
parent
e3c8560e68
commit
513b4f2f67
|
@ -23,5 +23,10 @@ jobs:
|
||||||
- name: Build 11ty site
|
- name: Build 11ty site
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Copy built site to data folder
|
- name: Create folder if needed
|
||||||
run: mkdir /www/work.suroh.tk && cp -r _site /www/work.suroh.tk
|
run: if [ ! -d /www/work.suroh.tk ]; then
|
||||||
|
mkdir /www/work.suroh.tk
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Copy built website
|
||||||
|
run: cp -r _site /www/work.suroh.tk
|
||||||
|
|
Loading…
Reference in New Issue