Update deploy.yaml

This commit is contained in:
Emilia Allison 2022-07-06 15:26:05 -04:00 committed by GitHub
parent b877857147
commit faa1a50f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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/