mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 21:05:15 +00:00
Updating the url of the repo
This commit is contained in:
parent
e4c21f8064
commit
685454c83c
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
```sh
|
||||
# Set it up...
|
||||
$ git clone https://github.com/hackclub/harbor && cd harbor
|
||||
$ git clone https://github.com/hackclub/hackatime && cd hackatime
|
||||
|
||||
# Set your config
|
||||
$ cp .env.example .env
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Get the first 6 characters of the current git commit hash
|
||||
git_hash = ENV["SOURCE_COMMIT"] || `git rev-parse HEAD` rescue "unknown"
|
||||
|
||||
commit_link = git_hash != "unknown" ? "https://github.com/hackclub/harbor/commit/#{git_hash}" : nil
|
||||
commit_link = git_hash != "unknown" ? "https://github.com/hackclub/hackatime/commit/#{git_hash}" : nil
|
||||
|
||||
short_hash = git_hash[0..7]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue