mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-14 08:46:14 +01:00
Update CI/CD pipeline
This commit is contained in:
parent
40947e4f64
commit
04bb3618e8
1 changed files with 5 additions and 13 deletions
18
.github/workflows/deploy.yml
vendored
18
.github/workflows/deploy.yml
vendored
|
@ -17,17 +17,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
- name: Deploy Stage
|
||||||
- uses: actions/checkout@v3
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
with:
|
||||||
- name: executing remote ssh commands using password
|
url: '${{ secrets.DEPLOY_WEBHOOK_URL }}'
|
||||||
uses: appleboy/ssh-action@master
|
method: 'POST'
|
||||||
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'
|
|
Loading…
Reference in a new issue