Skip to content

fix:redis-tls (#361) #84

fix:redis-tls (#361)

fix:redis-tls (#361) #84

Workflow file for this run

name: CI-staging-branch
on:
push:
branches: [staging]
workflow_dispatch:
jobs:
deploy_to_do:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
ref: staging
- name: Deploy to Digital Ocean droplet via SSH action
uses: appleboy/[email protected]
with:
host: ${{ secrets.STAGING_HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
eval `ssh-agent -s`
ssh-add cc
cd cc-portal \
&& git pull origin staging \
&& docker compose up -d --build \
&& docker container exec backend npm run typeorm:run-migrations \
&& docker image prune -f