Skip to content

Commit

Permalink
Update jekyll-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit authored Oct 8, 2024
1 parent b9c39f1 commit 12918d9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
uses: actions/checkout@v4
- name: Count themes
run: |
themesNumber="$(ls ./themes/ | wc -l)"
echo "Themes counted:"
echo "$themesNumber"
THEMES_NUMBER=$(ls ./themes/ | wc -l)
echo "Themes counted: $THEMES_NUMBER"
echo "THEMES_NUMBER=$THEMES_NUMBER" >> $GITHUB_ENV
- name: Export one variable
uses: UnlyEd/[email protected]
with:
variables: THEMES_NUMBER="$THEMES_NUMBER"
# Build job
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 12918d9

Please sign in to comment.