-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add commit svg and tonic data process
- Loading branch information
Showing
1 changed file
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,27 +50,19 @@ jobs: | |
echo "Tonic UI data built successfully." | ||
- name: Update fonts, svg icons, and Tonic UI data | ||
- name: Commit fonts, svg icons, and Tonic UI data | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: | | ||
majorVersion=$(jq -r '.fontPref.metadata.majorVersion' data/Preferences.json) | ||
minorVersion=$(jq -r '.fontPref.metadata.minorVersion' data/Preferences.json) | ||
version="$majorVersion.$minorVersion.0" | ||
echo "VERSION=$version" >> $GITHUB_ENV | ||
git status | ||
# - name: Configure Git | ||
# run: | | ||
# git config --global user.name 'HIE UX Service' | ||
# git config --global user.email '[email protected]' | ||
|
||
# - name: Add changes | ||
# run: git add test.txt | ||
# - name: Commit changes | ||
# run: git commit -m "Add test.txt with dynamic content" | ||
git config --global user.name 'HIE UX Service' | ||
git config --global user.email '[email protected]' | ||
# - name: Push changes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# run: git push origin dev | ||
git log -n 1 --pretty=format:%B > last_commit.txt | ||
git add --all | ||
git commit -F last_commit.txt | ||
git push |