Update deploy.yaml
This commit is contained in:
parent
b877857147
commit
faa1a50f82
|
@ -1,7 +1,8 @@
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
tags:
|
||||||
|
- v1.*
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
pull:
|
pull:
|
||||||
|
@ -58,6 +59,7 @@ jobs:
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
script: |
|
script: |
|
||||||
sudo su
|
sudo su
|
||||||
|
rm -rf /usr/share/nginx/html/ilia.moe
|
||||||
cp -r repo/src /usr/share/nginx/html/ilia.moe
|
cp -r repo/src /usr/share/nginx/html/ilia.moe
|
||||||
cp -r repo/hugo/recipe/public /usr/share/nginx/html/ilia.moe/cool-stuff/
|
cp -r repo/hugo/recipe/public /usr/share/nginx/html/ilia.moe/cool-stuff/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue