Skip to content

Commit

Permalink
Simplify setting the path
Browse files Browse the repository at this point in the history
  • Loading branch information
w0rp committed Jun 3, 2024
1 parent 4c81030 commit c122a53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DENSEBOT_PRIVATE_SSH_KEY }}
script_stop: true
script: ~/denseanalysis-org/deploy.sh
script: cd ~/denseanalysis-org && ./deploy.sh
3 changes: 0 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -eu

# Make sure we run this from the directory the script is in.
cd "$(dirname "${BASH_SOURCE[0]}")"

# Pull the latest code.
git pull
# Update submodules such as the template.
Expand Down

0 comments on commit c122a53

Please sign in to comment.