Skip to content

Commit

Permalink
Fixed workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamharrison authored and jgmdev committed Apr 29, 2024
1 parent 4ea0b83 commit c555733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
perl -pi -e 'exit(0) if $_ =~ m/^\-\-\-/' README.md
echo "---" >> README.md
echo -e "\n## Dark\n" >> README.md
./ppm-latest list --repository . --type color --tag "dark" --table 'url,{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}' --type color --header Theme,Preview >> README.md
./ppm-latest list --repository . --type color --tag "dark" --table '{{string.format("[%s](%s)", addon.id, addon.url)}},{{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}}' --type color --header Theme,Preview >> README.md
echo -e "\n## Light\n" >> README.md
./ppm-latest list --repository . --type color --tag "light" --table 'url,{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}' --type color --header Theme,Preview >> README.md
./ppm-latest list --repository . --type color --tag "light" --table '{{string.format("[%s](%s)", addon.id, addon.url)}},{{string.format("![%s_preview](previews/%s.svg)", addon.id,addon.id)}}' --type color --header Theme,Preview >> README.md
if ! git diff --exit-code -s README.md; then
git config --global user.name "Github Actions" && git config --global user.email "<>"
git add README.md previews
Expand Down

0 comments on commit c555733

Please sign in to comment.