Skip to content

Commit

Permalink
ci: remove sudo for pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 19, 2021
1 parent 8e31e3b commit e120770
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/sudo-bot/create-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ set -e

moveBuildToTempFolder() {
# Remove tmp dir, do not upload it
# Use sudo because build was not ran as the same user
${SUDO_BIN:-sudo} rm -rf ./tmp
rm -rf ./tmp

TEMP_DIR="$(mktemp -d --suffix=mariadb-mysql-kbs-docs)"
cp -rp build "${TEMP_DIR}"
# Remove build dir, do not upload it
# Use sudo because build was not ran as the same user
${SUDO_BIN:-sudo} rm -rf ./build
rm -rf ./build
}

cleanGhPages() {
Expand Down

0 comments on commit e120770

Please sign in to comment.