Skip to content

Landing Page updations #10

Landing Page updations

Landing Page updations #10

Workflow file for this run

name: Deploy-to-staging
on:
push:
branches: [ version-2 ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
pull-n-deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VACHAN_DO_HOST }}
username: ${{ secrets.VACHAN_DO_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
cd /home/gitautodeploy/vachan-api
git pull origin version-2
cd docker
docker compose --profile deployment --env-file prod.env up --force-recreate --build -d