Commit d66177e 1 parent 74689f6 commit d66177e Copy full SHA for d66177e
File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- echo " ======================'
3
+ set -e
4
4
5
- git config --gloabal user.name " ${GITHUB_ACTOR} "
6
- git config --gloabal user.email " ${INPUT_EMAIL} "
7
- git config --gloabal --add safe.directory /github/workspace
8
-
9
- python3 /usr/bin/feed.py
5
+ echo " ======================"
10
6
7
+ # Configure Git
8
+ git config --global user.name " ${GITHUB_ACTOR} "
9
+ git config --global user.email " ${INPUT_EMAIL} "
10
+ git config --global --add safe.directory /github/workspace
11
11
12
- git add -A && git commit -m " Update Feed "
12
+ python3 /usr/bin/feed.py
13
13
14
+ git add -A
15
+ git commit -m " Update Feed" || echo " No changes to commit"
14
16
git push --set-upstream origin main
15
17
16
-
17
- "
18
-
19
- echo " ======================'
18
+ echo " ======================"
You can’t perform that action at this time.
0 commit comments