From 8bc8033447f3a3c8148304210e492baf6befa92e Mon Sep 17 00:00:00 2001 From: Bokuan Li Date: Wed, 11 Mar 2026 01:25:18 -0400 Subject: [PATCH] Updated the compile to run in the dedicated builds folder. --- .gitea/workflows/compile.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index 5429eca..2c0d269 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -9,11 +9,10 @@ jobs: uses: actions/checkout@v4 - name: Add to PATH run: echo "/root/.nvm/versions/node/v24.14.0/bin" >> $GITHUB_PATH + - name: Copy source + run: | + mkdir -p /srv/builds/${{ github.event.repository.name }} + rsync -a --exclude=spec.db . /srv/builds/${{ github.event.repository.name }}/ - name: Compile Website run: spec compile --all - - name: Copy output - run: | - pwd - ls - mkdir -p /srv/builds/${{ github.event.repository.name }} - cp -r . /srv/builds/${{ github.event.repository.name }} + working-directory: /srv/builds/${{ github.event.repository.name }} \ No newline at end of file