summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-24 22:34:36 +0900
committernsfisis <nsfisis@gmail.com>2023-09-24 22:34:36 +0900
commit8f90ba81d96cba6b7677f0d8c3d587463472ed82 (patch)
treedfbdef083ee688fd639b46f74f1cd5961cfd3d58
parent2e7153afe282fce8d76ada5603f2dd95e7acd81a (diff)
downloadnsfisis.dev-8f90ba81d96cba6b7677f0d8c3d587463472ed82.tar.gz
nsfisis.dev-8f90ba81d96cba6b7677f0d8c3d587463472ed82.tar.zst
nsfisis.dev-8f90ba81d96cba6b7677f0d8c3d587463472ed82.zip
fix(deploy): force to overwrite existing contents
-rw-r--r--.github/workflows/deploy.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index a041ccf8..1325ce5c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -37,6 +37,9 @@ jobs:
script: |
set -e
cd nsfisis.dev
- git pull origin main
+ git fetch --prune origin
+ git restore -- .
+ git clean -fd
+ git switch -d origin/main
make clean
make deploy