diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index e879ceb..976e1c3 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -66,11 +66,11 @@ jobs: - name: Make the change id: change run: | - echo "CHANGE_LOGS<> "$GITHUB_ENV" + echo 'CHANGE_LOGS<> "$GITHUB_ENV" node scripts/add-new-theme.cjs "$(jq <<< "$THEMEINFO" ".$PROP=$GOOD")" >> "$GITHUB_ENV" echo '==============================' >> "$GITHUB_ENV" cat themes.new.json | jq --tab . | tee src/themes.json >> "$GITHUB_ENV" - echo "EOF" >> "$GITHUB_ENV" + echo 'EOF' >> "$GITHUB_ENV" env: THEMEINFO: ${{ steps.parse.outputs.parsed-issue }} PROP: ${{ steps.extractcmd.outputs.prop }} @@ -78,20 +78,20 @@ jobs: - name: Configure Git id: gitconfig run: | - echo "GIT_CONFIG_LOGS<> "$GITHUB_ENV" + echo 'GIT_CONFIG_LOGS<> "$GITHUB_ENV" git config --global user.name "$GNAME" && git config --global user.email "$GEMAIL" >> "$GITHUB_ENV" - echo "EOF" >> "$GITHUB_ENV" + echo 'EOF' >> "$GITHUB_ENV" env: GNAME: ${{ github.actor }} GEMAIL: ${{ github.actor }}@users.noreply.github.com - name: Commit and push id: commit run: | - echo "COMMIT_LOGS<> "$GITHUB_ENV" + echo 'COMMIT_LOGS<> "$GITHUB_ENV" git add src/themes.json >> "$GITHUB_ENV" git commit -m"Update $PROP to $GOOD" >> "$GITHUB_ENV" git push >> "$GITHUB_ENV" - echo "EOF" >> "$GITHUB_ENV" + echo 'EOF' >> "$GITHUB_ENV" env: PROP: ${{ steps.extractcmd.outputs.prop }} GOOD: ${{ steps.extractcmd.outputs.good }}