Skip to content

Commit

Permalink
cleaned up release file
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlarson committed Aug 19, 2024
1 parent ba8e6a5 commit 814c2d1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,21 @@ jobs:
- name: Install pnpm
run: sudo npm install -g pnpm

- name: Stop the production server
run: sudo systemctl stop portfolio

- name: Steal ownership of production server directory
run: sudo chown -R gh-runner:gh-runner /srv/portfolio

- name: Copy existing node modules
run: sudo cp -r /srv/portfolio/node_modules /home/gh-runner/actions-runner/_work/portfolio/portfolio/
run: sudo ln -s /srv/portfolio/node_modules /home/gh-runner/actions-runner/_work/portfolio/portfolio/

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Stop the production server
run: sudo systemctl stop portfolio

- name: Publish Executable
run: |
sudo find /srv/portfolio/ -mindepth 1 \
Expand Down

0 comments on commit 814c2d1

Please sign in to comment.