From a6d17f93b48c04dabf7514cc66bcf6e72bf3bb31 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Wed, 20 Sep 2023 18:09:06 +0200 Subject: [PATCH] wip --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c73aec5..eec3a9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,15 +24,17 @@ jobs: - run: chmod +x stork-ubuntu-22-04 - run: ./stork-ubuntu-22-04 build --input stork.toml --output bgt.st - name: Deploy to bgt server - if: github.ref == 'refs/heads/main' uses: appleboy/scp-action@master with: + debug: true host: ${{ secrets.DEPLOY_HOST }} port: 2299 username: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} source: "bgt.st" target: "/var/www/search/" + overwrite: true + timeout: 1m deploy-fly: runs-on: ubuntu-latest