mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
rsync not available by default, so use rm & cp
This commit is contained in:
parent
e88c0cabd6
commit
8acd6da5af
1 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,8 @@ jobs:
|
|||
|
||||
- name: Publish website
|
||||
run: |
|
||||
rsync -a --delete ./public /sites/www.byjp.me
|
||||
rm -r /sites/www.byjp.me/* /sites/www.byjp.me/.*
|
||||
cp -r ./public/. /sites/www.byjp.me
|
||||
|
||||
- name: Build Gemini capsule
|
||||
uses: https://git.byjp.me/jp/hugo-tasks@v0.1
|
||||
|
@ -40,4 +41,5 @@ jobs:
|
|||
|
||||
- name: Publish Gemini capsule
|
||||
run: |
|
||||
rsync -a --delete ./public /gemini/www.byjp.me
|
||||
rm -r /gemini/www.byjp.me/* /gemini/www.byjp.me/.*
|
||||
cp -r ./public/. /gemini/www.byjp.me
|
||||
|
|
Loading…
Reference in a new issue