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 7502ea3 commit ea23cd1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
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 # ensure newline at the end
echo 'EOF' >> "$GITHUB_ENV"
env:
THEMEINFO: ${{ steps.parse.outputs.parsed-issue }}
Expand All @@ -80,6 +81,7 @@ jobs:
run: |
echo 'GIT_CONFIG_LOGS<<EOF' >> "$GITHUB_ENV"
git config --global user.name "$GNAME" && git config --global user.email "$GEMAIL" >> "$GITHUB_ENV"
echo # ensure newline at the end
echo 'EOF' >> "$GITHUB_ENV"
env:
GNAME: ${{ github.actor }}
Expand All @@ -88,15 +90,10 @@ jobs:
id: commit
run: |
echo 'COMMIT_LOGS<<EOF' >> "$GITHUB_ENV"
echo "[RUN] ADD"
git add src/themes.json >> "$GITHUB_ENV"
echo "[_OK] ADD"
echo "[RUN] COMMIT"
git commit -m"Update $PROP to $GOOD" >> "$GITHUB_ENV"
echo "[_OK] COMMIT"
echo "[RUN] PUSH"
git push >> "$GITHUB_ENV"
echo "[_OK] PUSH"
echo # ensure newline at the end
echo 'EOF' >> "$GITHUB_ENV"
env:
PROP: ${{ steps.extractcmd.outputs.prop }}
Expand Down

1 comment on commit ea23cd1

@vercel
Copy link

@vercel vercel bot commented on ea23cd1 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-git-master-romw314.vercel.app
chess-no-25-docs-romw314.vercel.app

Please sign in to comment.