-
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.
- Loading branch information
1 parent
31fc86a
commit ef3885c
Showing
2 changed files
with
11 additions
and
8 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 |
---|---|---|
|
@@ -24,14 +24,16 @@ jobs: | |
- name: Sync SCSS folder to ngx-css | ||
run: | | ||
# Clone the target repository | ||
git clone [email protected]:WebArtWork/ngx-css.git target-repo | ||
# Copy updated files from client/src/scss | ||
rsync -av --delete client/src/scss/ target-repo/ | ||
# Commit and push changes to the target repository | ||
cd target-repo | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git clone [email protected]:WebArtWork/ngx-css.git ngx-css | ||
rsync -av --delete client/src/scss/ ngx-css/ | ||
cd ngx-css | ||
git add . | ||
git commit -m "Update SCSS files from source repository" || echo "No changes to commit" | ||
git push --force | ||
- name: Clean up SSH | ||
run: | | ||
rm -f ~/.ssh/id_rsa | ||
rm -f ~/.ssh/known_hosts |
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