Skip to content

test deploy

test deploy #3

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
deploy:
if: github.event_name == 'push'
environment: production
runs-on: ubuntu-latest
steps:
- name: deployment check
uses: github/[email protected]
id: deployment-check
with:
merge_deploy_mode: "true"
environment: production
- uses: actions/checkout@v4
if: ${{ steps.deployment-check.outputs.continue == 'true' }}
- name: SSH Remote Deploy
if: ${{ steps.deployment-check.outputs.continue == 'true' }}
uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 # [email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script_stop: true
script: ~/tarkov-data-manager/script/deploy -r "main" -d "/home/tdm/tarkov-data-manager"