blob: 9361354ef0eb59728f76afc6dd1ab22fc27266d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
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")
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
|