mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-05-08 14:43:10 +00:00
chore(global): usual commit-them-all to avoid data loss
Gonna start over on the workspace due to technical diffculties. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
81902a0b3c
commit
4df05ae9c4
18 changed files with 224 additions and 32 deletions
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -ea
|
||||
if [[ $DEBUG != "" ]]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
## source vars from .env first ##
|
||||
_root_directory_git=$(git rev-parse --show-toplevel)
|
||||
export "$(xargs < "$_root_directory_git/.env")"
|
||||
# shellcheck file=/dev/null
|
||||
source "$_root_directory_git/.env"
|
||||
|
||||
_branch_name_git=$(git rev-parse --abbrev-ref HEAD)
|
||||
_commit_sha=$(git rev-parse HEAD)
|
||||
|
@ -49,4 +50,5 @@ fi
|
|||
|
||||
if [[ $DEBUG != "" ]]; then
|
||||
set +x
|
||||
fi
|
||||
fi
|
||||
set +a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue