From 6555197242a58ff7f1d830760f8d3f529c0fa284 Mon Sep 17 00:00:00 2001 From: Samuele Date: Sun, 6 Oct 2024 22:46:53 +0200 Subject: [PATCH] gh --- .github/workflows/deployment.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 53ac55b6..33809165 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -20,20 +20,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.x' - - name: Backend + - name: Build Backend run: | cd backend ls -la - - - name: Install flit - run: pip install flit + pip install flit + flit install + flit build - - name: Install dependancies - run: flit install - - - name: Build package with flit - run: flit build - - name: Upload tar.gz to remote server run: | scp dist/*.tar.gz ${{secrets.REMOTE_USER}}@${{secrets.REMOTE_HOST}}:/opt/hermadata