Merge branch 'master' into dev #1139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Выкладка на тестовый сервер (он же Polygon) | |
name: Deploy to Test Server | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy-to-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update repo & Restart Minetest | |
uses: fifsky/[email protected] | |
with: | |
host: ${{ secrets.LORD_TEST_HOST }} | |
port: ${{ secrets.LORD_TEST_PORT }} | |
user: ${{ secrets.LORD_TEST_USER }} | |
key: ${{ secrets.LORD_TEST_KEY }} | |
command: | | |
set -e | |
cd mt/games/lord/ | |
git checkout dev | |
git pull --recurse-submodules | |
git submodule init | |
git submodule update | |
cp -f minetest.conf.test minetest.conf | |
$HOME/bin/mt_server-lord restart | |
args: -tt |