Skip to content

Commit

Permalink
fix: correct overwrite parameter handling in course cover generation …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
huhuhang committed Feb 24, 2025
1 parent 9127167 commit d2fe96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-course-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Generate course cover
env:
FREEPIK_API_KEY: ${{ secrets.FREEPIK_API_KEY }}
run: python scripts/generate_cover.py "${{ github.event.inputs.course_alias }}" "${{ github.event.inputs.course_lang }}" ${{ github.event.inputs.overwrite && '--overwrite' || '--no-overwrite' }}
run: python scripts/generate_cover.py "${{ github.event.inputs.course_alias }}" "${{ github.event.inputs.course_lang }}" ${{ (github.event.inputs.overwrite == 'true') && '--overwrite' || '--no-overwrite' }}

- name: Commit and push changes
run: |
Expand Down

0 comments on commit d2fe96f

Please sign in to comment.