Skip to content

Correct tag for changlog link #7

Correct tag for changlog link

Correct tag for changlog link #7

Workflow file for this run

name: Deploy Node.js CI - DO-001
on:
push:
branches: [develop]
jobs:
build:
runs-on: [ubuntu-22.04]
steps:
- name: Deploy development
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.MAIN_IP }}
username: ${{ secrets.GHA_USER }}
key: ${{ secrets.GHA_SSH }}
passphrase: ${{ secrets.GHA_PW }}
script: |
eval `ssh-agent -s`
cd ./_server/${{ vars.REPO_NAME }}/dev/
rm -rf ./${{ vars.REPO_NAME }}
ssh-add ~/.ssh/${{ secrets.REPO_SSH_NAME }}
git clone [email protected]:squeeble-ink/${{ vars.REPO_NAME }}.git
cd ./${{ vars.REPO_NAME }}
git checkout develop
rm ./nginx/prd.conf
docker compose up dev -d --build