Skip to content

Fix gulp

Fix gulp #9

Workflow file for this run

name: SSH Command Execution
on:
push:
branches:
- main
jobs:
ssh-job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Execute SSH Commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /var/www/cs2d-serverlist
git fetch origin
git reset --hard origin/main
pm2 restart cs2d-serverlist