빠른 Replace

This commit is contained in:
암냥 2025-04-12 12:02:25 +09:00
commit ef50c99f1b

View file

@ -21,16 +21,9 @@ jobs:
- run: bun install - run: bun install
- run: bun run build - run: bun run build
clean_up: replace:
name: Clean Up Old Files name: Replace Old Build with New Build
runs-on: web-self-hosted runs-on: web-self-hosted
needs: install_dependencies_and_build needs: install_dependencies_and_build
steps: steps:
- run: rm -rf /var/static/imnya.ng - run: rm -rf /var/static/imnya.ng && cp -r dist /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