#!/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