From ef50c99f1b3380176bc940cf5221bcafd978978c Mon Sep 17 00:00:00 2001 From: imnyang Date: Sat, 12 Apr 2025 12:02:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=A0=EB=A5=B8=20Replace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16b6f33..d732c16 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,16 +21,9 @@ jobs: - run: bun install - run: bun run build - clean_up: - name: Clean Up Old Files + replace: + name: Replace Old Build with New Build runs-on: web-self-hosted needs: install_dependencies_and_build steps: - - run: rm -rf /var/static/imnya.ng - - deploy: - name: Deploy New Build - runs-on: web-self-hosted - needs: clean_up - steps: - - run: cp -r dist /var/static/imnya.ng + - run: rm -rf /var/static/imnya.ng && cp -r dist /var/static/imnya.ng