aboutsummaryrefslogtreecommitdiff
path: root/bash/fake-symlinks.sh
blob: b61e798ad2cc6f7d7c5d2f01ae425ad8e5018070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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