mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 09:51:41 +11:00
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:
parent
dba5b76d24
commit
cb38106899
11 changed files with 299 additions and 0 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue