From faa1a50f82e224b3638dc9307cf7197af3a85ffd Mon Sep 17 00:00:00 2001 From: Emilia Date: Wed, 6 Jul 2022 15:26:05 -0400 Subject: [PATCH] Update deploy.yaml --- .github/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/