diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c73aec5..bfc611c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,15 +24,16 @@ 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/" + timeout: 1m deploy-fly: runs-on: ubuntu-latest