From 22d7b1fdc9f787ad38885112e67e599d1c20f710 Mon Sep 17 00:00:00 2001 From: abdullah shalaan from server Date: Tue, 12 Mar 2024 09:01:12 -0400 Subject: [PATCH] action deploy added --- .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..587c902 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Remote SSH +on: [push] +jobs: + + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.IP }} + username: ${{ secrets.USER }} + password: ${{ secrets.PRIVATE_KEY }} + port: ${{ secrets.PORT }} + script: | + ls + ${{ secrets.SCRIPT}}