From f59b80dea05fab9e716792bb466dc65e6d187568 Mon Sep 17 00:00:00 2001 From: Rajendra Reddy Date: Wed, 15 Oct 2025 12:15:34 +0000 Subject: [PATCH] Added Actions Workflow for Deployment --- .gitea/workflows/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..5a3fc2e --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: ask-mutual-fund Actions Workflow + +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Execute remote SSH commands using password + uses: appleboy/ssh-action@v1 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: | + cd public_html/ask-mutual-fund/ + git pull origin main + + \ No newline at end of file