This commit is contained in:
parent
85bb0dd771
commit
fe483567fa
2 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ steps:
|
||||||
- cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf
|
- cat conf/pacman-conf.d-noextract.conf >> /etc/pacman.conf
|
||||||
- sed -i 's/# REPOSITORIES/[nyyu]\nServer = https:\\/\\/archlinux.nyyu.dev\\/nyyu\nSigLevel = Never/' /etc/pacman.conf
|
- sed -i 's/# REPOSITORIES/[nyyu]\nServer = https:\\/\\/archlinux.nyyu.dev\\/nyyu\nSigLevel = Never/' /etc/pacman.conf
|
||||||
- sed -i 's/#PACKAGER=".*"/PACKAGER="nyyu <mail@nyyu.dev>"/' /etc/makepkg.conf
|
- sed -i 's/#PACKAGER=".*"/PACKAGER="nyyu <mail@nyyu.dev>"/' /etc/makepkg.conf
|
||||||
|
- pacman-key --init
|
||||||
- pacman -Syu git jq pacman-contrib pandoc-bin --noconfirm
|
- pacman -Syu git jq pacman-contrib pandoc-bin --noconfirm
|
||||||
- useradd build -m
|
- useradd build -m
|
||||||
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -32,8 +32,8 @@ build() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
git config user.email "drone@nyyu.dev"
|
git config --global user.email "drone@nyyu.dev"
|
||||||
git config user.name "drone"
|
git config --global user.name "drone"
|
||||||
git remote set-url origin "${DRONE_GIT_HTTP_URL}"
|
git remote set-url origin "${DRONE_GIT_HTTP_URL}"
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
git config credential.helper '!f() { sleep 1; echo "username=drone"; echo "password=${GIT_PASSWORD}"; }; f'
|
git config credential.helper '!f() { sleep 1; echo "username=drone"; echo "password=${GIT_PASSWORD}"; }; f'
|
||||||
|
|
Loading…
Add table
Reference in a new issue