Skip to content

update CI/CD

update CI/CD #19

Workflow file for this run

name: Oqtepalavash server
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Deploy to server
uses: appleboy/ssh-action@master
with:
host: 2.59.40.214
username: root
password: eybM9xJdNjKV+^
key: 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
# port: ${{ secrets.PORT }}
script: |
cd /var/www/oqtepalavash/backend
git pull