Skip to content

Commit

Permalink
changed how cloning to the server should be done
Browse files Browse the repository at this point in the history
  • Loading branch information
viggoStrom committed Oct 10, 2024
1 parent 6b95a51 commit 599a5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/web-server-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This downloads the install script and runs it.

3. Clone the repository to the server, where `<tag_name>` is the tag of the release you want to deploy and `<repo_url>` is the URL of the repository.
```bash
git clone --branch <tag_name> <repo_url> /var/www/
git clone <repo_url> /var/www/
```

4. When you are ready to deploy a new release, run the following command, where `<tag>` is the tag of the release you want to deploy.
Expand Down
2 changes: 1 addition & 1 deletion server-scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ echo "Deployment of version $VERSION_TAG complete!"
EOL

# Clean up the /var/www directory
rm -rf /var/www/*
rm -rf /var/www/

# Make the deploy.sh script executable
chmod +x "$DEPLOY_SCRIPT_PATH"
Expand Down

0 comments on commit 599a5cf

Please sign in to comment.