From 465b6524ee4b32ec88de39beaec3ae9f81db6704 Mon Sep 17 00:00:00 2001 From: "(Jip) Willem Wijnia" Date: Mon, 20 May 2024 08:55:10 +0200 Subject: [PATCH] Fix small bugs in the wiki generation script (#6198) --- .github/workflows/wiki-generate-blueprints.yaml | 7 ++----- .github/workflows/wiki-generate-icons.yaml | 5 +---- changelog/snippets/other.6188.md | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/wiki-generate-blueprints.yaml b/.github/workflows/wiki-generate-blueprints.yaml index 0742809405..e6d8239468 100644 --- a/.github/workflows/wiki-generate-blueprints.yaml +++ b/.github/workflows/wiki-generate-blueprints.yaml @@ -1,4 +1,4 @@ -name: FAF Wiki Generator for Blueprints +name: Wiki - generate unit pages on: workflow_dispatch: @@ -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 @@ -41,7 +39,6 @@ jobs: uses: actions/checkout@v4 with: repository: FAForever/fa.wiki - ref: master path: ./fa.wiki - name: Install Lua 5.4 diff --git a/.github/workflows/wiki-generate-icons.yaml b/.github/workflows/wiki-generate-icons.yaml index 9e37bab8da..019d4f28a4 100644 --- a/.github/workflows/wiki-generate-icons.yaml +++ b/.github/workflows/wiki-generate-icons.yaml @@ -1,4 +1,4 @@ -name: FAF Wiki Generator for icons +name: Wiki - generate unit icons on: workflow_dispatch: @@ -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 @@ -30,7 +28,6 @@ jobs: uses: actions/checkout@v4 with: repository: FAForever/fa.wiki - ref: master path: ./fa.wiki - name: Install Image Magick diff --git a/changelog/snippets/other.6188.md b/changelog/snippets/other.6188.md index c7056280dd..0c7e5ba803 100644 --- a/changelog/snippets/other.6188.md +++ b/changelog/snippets/other.6188.md @@ -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