Skip to content

Commit 82b4ae2

Browse files
committed
take 2, add github actions
1 parent 1eac8fc commit 82b4ae2

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/ubuntu.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: CI
2+
on: push
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: "Install.sh"
9+
run: "bash install.sh server"

install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ basic_update () {
2626
}
2727

2828
dependencies_ubuntu () {
29+
sudo apt update -y
30+
sudo add-apt-repository -y ppa:neovim-ppa/stable
2931
sudo apt install -y --no-install-recommends neovim vim ranger tmux
3032
sudo apt install -y --no-install-recommends ncdu wget w3m curl htop btop ripgrep bat nvtop
3133
sudo apt install -y --no-install-recommends xclip xsel
@@ -58,8 +60,8 @@ zsh_update() {
5860
mv $HOME/.zshrc $HOME/.zshrc_old
5961
cp $CONFIGDIR/zsh/zshrc $HOME/.zshrc && cp $CONFIGDIR/zsh/aliases $HOME/.zsh_aliases
6062

61-
sudo mkdir -p /usr/share/fonts/truetype/fonts-iosveka/
62-
sudo cp $CONFIGDIR/static/iosveka-regular.ttf /usr/share/fonts/truetype/fonts-iosveka/
63+
sudo mkdir -p /usr/share/fonts/truetype/fonts-iosevka/
64+
sudo cp $CONFIGDIR/static/iosevka-regular.ttf /usr/share/fonts/truetype/fonts-iosevka/
6365
echo "zsh updated";
6466
}
6567

0 commit comments

Comments
 (0)