diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 05c0ea6..a2cc393 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,7 +1,8 @@ name: CI on: push: - branches: [master] + tags: + - v1.* workflow_dispatch: jobs: pull: @@ -58,6 +59,7 @@ jobs: key: ${{ secrets.SSH_KEY }} script: | sudo su + rm -rf /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/