Skip to content

Merge pull request #30 from DSC-best/bot-vote-logs #44

Merge pull request #30 from DSC-best/bot-vote-logs

Merge pull request #30 from DSC-best/bot-vote-logs #44

Workflow file for this run

name: Auto Deploy
on:
push:
branches: ['master']
env:
PTERO_PATH: /var/lib/pterodactyl/volumes/${{ secrets.PTERO_VOLUME }}
SERVER_ID: ${{ secrets.PTERO_SERVER_ID }}
SKYV_TOKEN: ${{ secrets.SKYV_TOKEN }}
jobs:
deployment:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- run: cp . $PTERO_PATH -r
- run: cd $PTERO_PATH/skyv && npm i && node restarter.js --token=$SKYV_TOKEN --server=$SERVER_ID