diff options
author | Anthony Wang | 2024-11-26 10:15:30 -0500 |
---|---|---|
committer | Anthony Wang | 2024-11-26 10:15:30 -0500 |
commit | 63923ede34a9b498c2f194d0b63aabeaf827a537 (patch) | |
tree | f061bbd28133f38c34523687371a04c4d40ef7cf | |
parent | 3ac21fdc91567633abe70b5954f64fb7e5051ac4 (diff) |
Run deploy.sh on the server so make script cd to repo dir
-rwxr-xr-x[-rw-r--r--] | deploy.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh index 6e30fb5..ba6eee8 100644..100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,6 @@ -cd ~/Code/website +#!/usr/bin/fish + +cd (status dirname) git pull git submodule update hugo --cleanDestinationDir --destination /srv/http/a |