Skip to content

Commit

Permalink
Merge pull request #23 from chkfung/ncc-automate-3
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
chkfung authored Apr 4, 2024
2 parents 5fac16e + 127a835 commit 5d5af2e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34,194 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/automate_ncc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
BRANCH_NAME=automated-build-$(date +'%Y%m%d%H%M%S')
git checkout -b $BRANCH_NAME
git add dist/index.js
git commit -m "Automated build"
git diff --quiet && git diff --staged --quiet || git commit -m "Automated build"
git push origin $BRANCH_NAME
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
Expand Down
Loading

0 comments on commit 5d5af2e

Please sign in to comment.