Skip to content

Commit

Permalink
Update readme, fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreadman authored Jun 2, 2022
1 parent 00310e5 commit fc5fe99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
This action syncs your repo (merge changes from `remote`) at branch `main` with the upstream repo ``` https://github.com/dabreadman/go-web-proxy.git ``` every day on 1801 UTC.
Do note GitHub Action scheduled workflow usually face delay as it is pushed onto a queue, the delay is usually within 1 hour long.

Note: This action will create a `sync-upstream-repo` file at root directory with timestamps of when the action is ran. This is to mitigate the hassle of GitHub disabling actions for a repo when inactivity was detected.
Note: If `SPAWN_LOGS` is set to `true`, this action will create a `sync-upstream-repo` file at root directory with timestamps of when the action is ran. This is to mitigate the hassle of GitHub disabling actions for a repo when inactivity was detected.

## Development

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ case ${SPAWN_LOGS} in
"UNIX Time: " >> sync-upstream-repo
date +"%s" >> sync-upstream-repo
git add sync-upstream-repo
git commit sync-upstream-repo -m "Syncing upstream"
git commit sync-upstream-repo -m "Syncing upstream";;
(false) echo "Not spawning time logs"
esac

Expand Down

0 comments on commit fc5fe99

Please sign in to comment.