Skip to content

ta inja

ta inja #34

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: sync
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to production
uses: appleboy/ssh-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
username: ${{ secrets.SSH_USER }}
host: ${{ secrets.SSH_HOST }}
password: ${{ secrets.SSH_KEY }}
envs: GITHUB_TOKEN
script: "cd /usr/share/nginx/backend.oldpersiangames.org/opgmanager-backend && sudo -u apache git pull https://opg:[email protected]/oldpersiangames/opgmanager-backend/ main"