Skip to content

[API] Pluginmaster autoupdate #14

[API] Pluginmaster autoupdate

[API] Pluginmaster autoupdate #14

name: Create readme full
on:
workflow_dispatch:
workflow_call:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
merge-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Download header
run: wget https://github.com/NightmareXIV/MyDalamudPlugins/raw/main/meta/HeaderFull.md -P /tmp
- name: Download footer
run: wget https://github.com/NightmareXIV/MyDalamudPlugins/raw/main/meta/FooterFull.md -P /tmp
- name: Concatenate files
run: cat /tmp/HeaderFull.md meta/front.md /tmp/FooterFull.md > README.md
- name: Commit merged file
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Update Readme.md" -a || echo "No changes to commit"
git push # Push the changes back to the repository