From 40475f463d224dec7e714f449bb7b994e20ee1a0 Mon Sep 17 00:00:00 2001 From: Cooper Larson Date: Sun, 18 Aug 2024 14:58:39 -0600 Subject: [PATCH] install on publish --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f3f63e..b8ff2ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,4 +48,6 @@ jobs: sudo systemctl stop portfolio sudo find /srv/portfolio/ -mindepth 1 ! -name 'media' ! -name '.env' -exec rm -rf {} + sudo rsync -av --exclude 'media' --exclude '.env' /home/gh-runner/actions-runner/_work/portfolio/portfolio/ /srv/portfolio/ + cd /srv/portfolio + pnpm install sudo systemctl start portfolio