From 04bb3618e8f210ba136b7ac0e6728da9629ed09d Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Sun, 9 Jul 2023 03:05:22 +0200 Subject: [PATCH] Update CI/CD pipeline --- .github/workflows/deploy.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9060cfc..44b20e9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,17 +17,9 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - - name: executing remote ssh commands using password - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USERNAME }} - password: ${{ secrets.SSH_PASSWORD }} - port: ${{ secrets.SSH_PORT }} - script: 'sh /mnt/cache/SSD/sobot_data/fetch.sh' + - name: Deploy Stage + uses: fjogeleit/http-request-action@v1 + with: + url: '${{ secrets.DEPLOY_WEBHOOK_URL }}' + method: 'POST' \ No newline at end of file