Skip to content

Commit

Permalink
test: CI 動作確認
Browse files Browse the repository at this point in the history
  • Loading branch information
KeitaSHIBUYA committed Feb 21, 2024
1 parent 82f5ad8 commit 5b5b001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ jobs:
run: apt-get update && apt-get install -y git sudo
- name: Install dotfiles
run: |
sed -i '1s/^.*$/#!\/bin\/bash/' ./bin/install.sh
cat ./bin/install.sh
bash ./bin/install.sh
6 changes: 3 additions & 3 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ echo "Starting to create symbolic links for dotfiles..."

# "."から始まるファイルをシンボリックリンク
for file in $(find $DOTFILES_DIR -name ".*" -type f); do
ln -snf $file ~/
ln -snf $file ~/ || exit 1
done

# iceberg.vimをシンボリックリンク
mkdir -p ~/.vim/colors
ln -snf $DOTFILES_DIR/.vim/colors/iceberg.vim ~/.vim/colors/
mkdir -p ~/.vim/colors || exit 1
ln -snf $DOTFILES_DIR/.vim/colors/iceberg.vim ~/.vim/colors/ || exit 1

echo "Successfully created symbolic links for dotfiles."

0 comments on commit 5b5b001

Please sign in to comment.