From a864d6931abbb550204770ffe1e5ce0fe1e08aee Mon Sep 17 00:00:00 2001 From: adueck Date: Sun, 26 Nov 2023 00:12:30 +0400 Subject: [PATCH] starting new deploy workflow --- .github/workflows/new-deploy-account.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/new-deploy-account.yml diff --git a/.github/workflows/new-deploy-account.yml b/.github/workflows/new-deploy-account.yml new file mode 100644 index 0000000..0f3cfeb --- /dev/null +++ b/.github/workflows/new-deploy-account.yml @@ -0,0 +1,24 @@ +name: remote ssh command +on: + push: + branches: + - master + - dev + paths: + - "account/**" + - ".github/workflows/new-deploy-account.yml" + workflow_dispatch: + +jobs: + new-deploy-account: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v1.0.0 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.KEY }} + port: ${{ secrets.PORT }} + script: touch ciwuzhere.txt