Skip to content

Commit

Permalink
Fix small bugs in the wiki generation script (FAForever#6198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas authored May 20, 2024
1 parent acb7c3a commit 465b652
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/wiki-generate-blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: FAF Wiki Generator for Blueprints
name: Wiki - generate unit pages

on:
workflow_dispatch:
Expand All @@ -17,14 +17,12 @@ jobs:
uses: actions/checkout@v4
with:
repository: The-Balthazar/BrewWikiGen
ref: master
path: ./brew-wiki-gen

# FA repo is sparse checkout as it is quite large and we dont won't to incur higher action minutes for no reason
- name: Checkout FAF Repository # -png folder doesnt exist yet, confirm location.
uses: actions/checkout@v4
with:
repository: FAForever/fa
ref: deploy/develop
path: ./fa
sparse-checkout-cone-mode: |
wiki
Expand All @@ -41,7 +39,6 @@ jobs:
uses: actions/checkout@v4
with:
repository: FAForever/fa.wiki
ref: master
path: ./fa.wiki

- name: Install Lua 5.4
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/wiki-generate-icons.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: FAF Wiki Generator for icons
name: Wiki - generate unit icons

on:
workflow_dispatch:
Expand All @@ -18,8 +18,6 @@ jobs:
- name: Checkout FAF Repository # -png folder doesnt exist yet, confirm location.
uses: actions/checkout@v4
with:
repository: FAForever/fa
ref: deploy/develop
path: ./fa
sparse-checkout: |
wiki
Expand All @@ -30,7 +28,6 @@ jobs:
uses: actions/checkout@v4
with:
repository: FAForever/fa.wiki
ref: master
path: ./fa.wiki

- name: Install Image Magick
Expand Down
2 changes: 1 addition & 1 deletion changelog/snippets/other.6188.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- (#6188) Create a Github workflow to automate the population of the Wiki
- (#6188, #6198) Create a Github workflow to automate the population of the Wiki

0 comments on commit 465b652

Please sign in to comment.