Skip to content

Commit

Permalink
Update commands.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
romw314 authored Dec 8, 2023
1 parent 8720156 commit 08bf889
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,32 +66,32 @@ jobs:
- name: Make the change
id: change
run: |
echo "CHANGE_LOGS<<EOF" >> "$GITHUB_ENV"
echo 'CHANGE_LOGS<<EOF' >> "$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 }}
GOOD: ${{ steps.extractcmd.outputs.good }}
- name: Configure Git
id: gitconfig
run: |
echo "GIT_CONFIG_LOGS<<EOF" >> "$GITHUB_ENV"
echo 'GIT_CONFIG_LOGS<<EOF' >> "$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<<EOF" >> "$GITHUB_ENV"
echo 'COMMIT_LOGS<<EOF' >> "$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 }}
Expand Down

1 comment on commit 08bf889

@vercel
Copy link

@vercel vercel bot commented on 08bf889 Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chess-no-25-docs – ./

chess-no-25-docs.vercel.app
chess-no-25-docs-romw314.vercel.app
chess-no-25-docs-git-master-romw314.vercel.app

Please sign in to comment.