File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,16 @@ jobs:
24
24
25
25
- name : Sync SCSS folder to ngx-css
26
26
run : |
27
- # Clone the target repository
28
- git clone [email protected] :WebArtWork/ngx-css.git target-repo
29
-
30
- # Copy updated files from client/src/scss
31
- rsync -av --delete client/src/scss/ target-repo/
32
-
33
- # Commit and push changes to the target repository
34
- cd target-repo
27
+ git config --global user.name "github-actions[bot]"
28
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
29
+ git clone [email protected] :WebArtWork/ngx-css.git ngx-css
30
+ rsync -av --delete client/src/scss/ ngx-css/
31
+ cd ngx-css
35
32
git add .
36
33
git commit -m "Update SCSS files from source repository" || echo "No changes to commit"
37
34
git push --force
35
+
36
+ - name : Clean up SSH
37
+ run : |
38
+ rm -f ~/.ssh/id_rsa
39
+ rm -f ~/.ssh/known_hosts
Original file line number Diff line number Diff line change 61
61
1. block -> "header"
62
62
2. element -> "header__link"
63
63
3. modifier -> "_active"
64
+
64
65
#### b. SCSS
65
66
1. block -> "header {}"
66
67
2. element -> "&__link {}"
You can’t perform that action at this time.
0 commit comments