always remove tmpdir in deploy.sh #530

Merged
snedadah merged 1 commits from merenber/always-remove-tmpdir into main 2022-11-27 15:00:09 -05:00
Owner

This change ensures that the temporary directory created by mkdir --directory is always removed when deploy.sh exits, whether or not the script succeeded.

It also modifies the git clone command to use the file:// protocol instead of HTTPS, to speed up the download.

This change ensures that the temporary directory created by `mkdir --directory` is always removed when `deploy.sh` exits, whether or not the script succeeded. It also modifies the `git clone` command to use the `file://` protocol instead of HTTPS, to speed up the download.
merenber added 1 commit 2022-11-27 13:41:48 -05:00
continuous-integration/drone/push Build is passing Details
dfd70fd08f
always remove tmpdir in deploy.sh
snedadah approved these changes 2022-11-27 14:59:39 -05:00
snedadah left a comment
Owner

thanks for making this change! note that the staging doesn't actually use this script,
so I just manually tested it using the production script and it seemed to work fine.

thanks for making this change! note that the staging doesn't actually use this script, so I just manually tested it using the production script and it seemed to work fine.
snedadah merged commit 7e5466e2bc into main 2022-11-27 15:00:09 -05:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#530
No description provided.