diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..2c3b0c5 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,16 @@ +name: remote ssh command +on: [release] +jobs: + + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v0.1.10 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: 22 + script: /home/ubuntu/bin/restart-forge \ No newline at end of file