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:
41
.github/workflows/retype.yml
vendored
Normal file
41
.github/workflows/retype.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user