Fix permission in Drone workspace
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5554e2dedf
commit
6532c70eab
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,8 @@ set -e
|
||||||
|
|
||||||
echo "Building on: $DRONE_STAGE_MACHINE"
|
echo "Building on: $DRONE_STAGE_MACHINE"
|
||||||
|
|
||||||
|
sudo chown -R builder:builder "$DRONE_WORKSPACE_BASE"
|
||||||
|
|
||||||
AUR_URL="https://aur.archlinux.org"
|
AUR_URL="https://aur.archlinux.org"
|
||||||
OUTDIR="$DRONE_WORKSPACE_BASE/out"
|
OUTDIR="$DRONE_WORKSPACE_BASE/out"
|
||||||
mkdir -p "$OUTDIR"
|
mkdir -p "$OUTDIR"
|
||||||
|
@ -46,3 +48,5 @@ pikaur --noprogressbar --noconfirm -P "$PKGBUILD"
|
||||||
|
|
||||||
echo "Moving packages to output directory: $OUTDIR"
|
echo "Moving packages to output directory: $OUTDIR"
|
||||||
mv *.pkg.* "$OUTDIR/"
|
mv *.pkg.* "$OUTDIR/"
|
||||||
|
|
||||||
|
sudo chown -R root:root "$DRONE_WORKSPACE_BASE"
|
||||||
|
|
Loading…
Reference in a new issue