From 4169b37a1bfc54527033298da96cb97c29bfc683 Mon Sep 17 00:00:00 2001 From: Nolhan#2508 Date: Sat, 18 Mar 2023 12:05:49 +0100 Subject: [PATCH] Create deploy.yml --- .github/workflows/deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..69882d3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Deploy + +on: [release] + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + - name: Deploy + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + port: ${{ secrets.PORT }} + password: ${{ secrets.PASSWORD }} + script: bash deploy_to_test.sh