Add Retype docs automation

Co-authored-by: zinklog2 <110323644+zinklog2@users.noreply.github.com>
Co-authored-by: Rust1667 <whatever@meh.com>
This commit is contained in:
rhld16
2023-04-05 18:26:51 +00:00
committed by GitHub
parent dba5b76d24
commit cb38106899
11 changed files with 299 additions and 0 deletions

41
.github/workflows/retype.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: Update FMHY Retype
on:
workflow_dispatch:
push:
branches:
- main
jobs:
update:
name: Update FMHY Retype
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Move Files
run: |
cp -r .github/assets/* .
shell: bash
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Prepare Files
shell: bash
run: |
python .github/replace-links-to-fmhy-in-files-in-current-dir.py
python .github/add-headers.py
- name: Build Retype
uses: retypeapp/action-build@latest
- uses: retypeapp/action-github-pages@latest
with:
branch: retype
update-branch: true