Skip to content

Commit 39f674f

Browse files
authored
Update update-index.yml
1 parent 168ee19 commit 39f674f

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/update-index.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout repositori
13+
- name: Checkout repository
1414
uses: actions/checkout@v2
1515

1616
- name: Ambil semua folder
@@ -20,7 +20,7 @@ jobs:
2020
FOLDERS=$(ls -d */ | grep -v '\.github\|node_modules' | sed 's/\/$//')
2121
echo "folders=$(echo "$FOLDERS" | tr '\n' ' ')" >> $GITHUB_ENV
2222
23-
- name: Cek folder saat ini di index.html
23+
- name: Cek folder di index.html
2424
id: read_html
2525
run: |
2626
# Ambil semua folder yang sudah ada di index.html secara case-insensitive
@@ -67,14 +67,10 @@ jobs:
6767
exit 0
6868
fi
6969
70-
# Set git config untuk identitas
70+
# Commit dan push perubahan
7171
git config --global user.name "siegrin"
7272
git config --global user.email "piubitt@gmail.com"
73-
74-
# Commit dan push perubahan
7573
git add $OUTPUT_FILE
76-
git commit -m "Reset dan sinkronkan folder di index.html dengan repositori"
77-
78-
- name: Push changes to GitHub
79-
run: |
74+
git commit -S -m "Reset dan sinkronkan folder di index.html dengan repositori" # Gunakan -S untuk commit yang ditandatangani
8075
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/siegrin/JavaScript-Master.git
76+

0 commit comments

Comments
 (0)