Skip to content

Commit

Permalink
ssh now fails completely if one command doesnt run
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtsilius authored Jun 27, 2024
1 parent 5db8442 commit 4847aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/updateWebsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Update and Restart Server
run: |
ssh ${{ secrets.USER }}@${{ secrets.HOST }} << 'EOF'
set -e
# Install nvm if not installed
if ! command -v nvm &> /dev/null; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Expand Down

0 comments on commit 4847aed

Please sign in to comment.