From 746aee70a7a4130ff4062364a6f181c133ae384c Mon Sep 17 00:00:00 2001 From: Sam Piper Date: Fri, 12 Apr 2024 00:25:30 +0100 Subject: [PATCH] fix: force working directories --- .github/workflows/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4706c4..2c8b671 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,16 +10,15 @@ jobs: runs-on: self-hosted steps: - - name: Navigate to the project directory - run: cd /home/iforge/ignis - - name: Pull the latest changes + working-directory: /home/iforge/ignis/ run: git pull - name: Throw up the maintenance page run: sudo touch /home/iforge/ignis-config/file_flags/maintenance_mode/enabled - name: Build the project + working-directory: /home/iforge/ignis/ run: turbo build - name: Restart systemd service