Skip to content

fix: docker-compose

fix: docker-compose #2

name: deploy production (reeq-backend)
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x.x
cache: npm
- run: npm ci
# - run: npm run lint
# - run: npm run lint:types
# - run: npm run test
deploy:
needs: lint
runs-on: ubuntu-latest
concurrency:
group: production
cancel-in-progress: true
steps:
- name: SSH Command
uses: D3rHase/[email protected]
with:
# hostname / IP of the server
host: ${{ secrets.STAGING_SSH_HOST }}
user: ${{ secrets.STAGING_SSH_USERNAME }}
private_key: ${{ secrets.STAGING_SSH_PRIVATE_KEY }}
host_fingerprint: ${{ secrets.STAGING_SSH_FINGERPRINT }}
command: source ~/.nvm/nvm.sh; ~/deploy/deploy_reeq-backend.sh