From d0c33c4f3b1b457c3a2f5f867aeaf913ebd0bb3c Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Thu, 7 Aug 2025 20:28:31 -0400 Subject: [PATCH] Combine build and deploy steps. --- .gitea/workflows/build-web-app.yaml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build-web-app.yaml b/.gitea/workflows/build-web-app.yaml index e401086..8458cf0 100644 --- a/.gitea/workflows/build-web-app.yaml +++ b/.gitea/workflows/build-web-app.yaml @@ -5,7 +5,7 @@ on: - 'web-app/**' - '.gitea/workflows/build-web-app.yaml' jobs: - build-and-test: + build-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -14,16 +14,6 @@ jobs: node-version: '22.x' - run: npm ci working-directory: ./web-app - - run: npm run build --if-present + - run: npm run build working-directory: ./web-app - - uses: christopherhx/gitea-upload-artifact@v4 - with: - path: ./web-app/dist - deploy: - runs-on: ubuntu-latest - needs: build-and-test - steps: - - uses: christopherhx/gitea-download-artifact@v4 - - run: echo "Hello world!" - run: echo "rsync -rav -e ssh --delete artifact/* root@andrewlalis.com:/opt/finnow/app-content" -