From a695d47cea8c221ad059928b4055874e4d8416b3 Mon Sep 17 00:00:00 2001 From: Cooper Larson Date: Mon, 19 Aug 2024 09:21:22 -0600 Subject: [PATCH] cleaned up release file --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6323372..c540f47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,9 @@ jobs: run: sudo systemctl stop portfolio - name: Steal ownership of production server directory - run: sudo chown -R gh-runner:gh-runner /srv/portfolio + run: | + sudo chown -R gh-runner:gh-runner /srv/portfolio + sudo chown -R gh-runner:gh-runner /home/gh-runner/actions-runner/_work/ - name: Copy existing node modules run: sudo ln -s /srv/portfolio/node_modules /home/gh-runner/actions-runner/_work/portfolio/portfolio/