diff options
Diffstat (limited to 'bash/fake-symlinks.sh')
-rw-r--r-- | bash/fake-symlinks.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bash/fake-symlinks.sh b/bash/fake-symlinks.sh index 687395a..336f0c5 100644 --- a/bash/fake-symlinks.sh +++ b/bash/fake-symlinks.sh @@ -4,17 +4,16 @@ if [[ -n "$GITHUB_TOKEN" ]]; then cat $DOTFILES/git/gitconfig.ini | envsubst > ~/.gitconfig fi -repos=("org.euandreh.misc" "org.euandreh.http") -for repo in ${repos[@]}; do - cp "$DOTFILES/git/gitlab-ci.yml" "$DOTFILES/../$repo/.gitlab-ci.yml" - cp "$DOTFILES/git/default.nix" "$DOTFILES/../$repo/default.nix" -done - - -SRHT_REPOS=("website" "mentat" "cement" "pouchdb-materialized-view" "pires") +SRHT_REPOS=("website" "mentat" "cement" "pouchdb-materialized-view" "pires" "superlogin" "superlogin-client") SRHT_REPOS_PATH="$HOME/dev/libre" for repo in ${SRHT_REPOS[@]}; do cat $DOTFILES/templates/sr-ht-build.yaml | REPO="$repo" envsubst > "$SRHT_REPOS_PATH/$repo/.build.yml" done + +for repo in ${SRHT_REPOS[@]}; do + if [[ "$repo" != "website" ]]; then + cat "$DOTFILES/templates/env.sh" | REPO="$repo" envsubst > "$SRHT_REPOS_PATH/$repo/env.sh" + fi +done |