mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2025-07-22 09:40:33 +02:00
add script and workflow to generate static info-page with mtinfo
This commit is contained in:
21
.github/workflows/mtinfo.yml
vendored
Normal file
21
.github/workflows/mtinfo.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: mtinfo
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: generate
|
||||
run: ./generate-mtinfo.sh
|
||||
|
||||
- name: deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./output
|
Reference in New Issue
Block a user