2021-06-02 14:47:50 +02:00

28 lines
469 B
YAML

name: mtinfo
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: generate
run: ./mtinfo.sh
- name: deploy
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /tmp/mt/worlds/world/mtinfo