Skip to content

Commit

Permalink
Optionally download generated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Nov 13, 2024
1 parent f12567a commit bd1ed3f
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/docs-convert-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit bd1ed3f

Please sign in to comment.