Correct tag for changlog link #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |