diff --git a/.github/workflows/docs-convert-changelog.yaml b/.github/workflows/docs-convert-changelog.yaml index 9d92944275..ece1d80f57 100644 --- a/.github/workflows/docs-convert-changelog.yaml +++ b/.github/workflows/docs-convert-changelog.yaml @@ -24,20 +24,16 @@ on: push: workflow_dispatch: workflow_call: + inputs: + artifact: + type: choice + options: + - fafdevelop + - fafbeta + -jobs: - # changelog-develop: - # name: Create changelog of FAF Develop - # uses: ./.github/workflows/docs-changelog.yaml - # with: - # reference: deploy/fafdevelop - - # changelog-beta: - # name: Create changelog of FAF Beta - # uses: ./.github/workflows/docs-changelog.yaml - # with: - # reference: deploy/fafbeta +jobs: convert_changelog: name: Convert changelog runs-on: ubuntu-latest @@ -54,6 +50,20 @@ jobs: changelog docs + - name: Download develop artifact + if: inputs.artifact == 'fafdevelop' + uses: actions/download-artifact@v4 + with: + name: changelog-fafdevelop + path: docs/_posts + + - name: Download balance artifact + if: inputs.artifact == 'fafbeta' + uses: actions/download-artifact@v4 + with: + name: changelog-fafbeta + path: docs/_posts + - name: Setup python uses: actions/setup-python@v5 with: