diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f6fd650..7af23b3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -21,6 +21,19 @@ jobs: run: pnpm install - name: Build run: pnpm build - - name: Deploy + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + + deploy: + runs-on: ubuntu-latest + + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: dist + - name: Move files to server run: | - mv dist/* /var/www/beta.martials.no + cp -r dist/* /var/www/beta.martials.no