fix
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
nyyu 2022-08-01 07:58:04 +02:00
parent 85bb0dd771
commit fe483567fa
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ steps:
- 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/#PACKAGER=".*"/PACKAGER="nyyu <mail@nyyu.dev>"/' /etc/makepkg.conf
- pacman-key --init
- pacman -Syu git jq pacman-contrib pandoc-bin --noconfirm
- useradd build -m
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"

View file

@ -32,8 +32,8 @@ build() {
fi
}
git config user.email "drone@nyyu.dev"
git config user.name "drone"
git config --global user.email "drone@nyyu.dev"
git config --global user.name "drone"
git remote set-url origin "${DRONE_GIT_HTTP_URL}"
# shellcheck disable=SC2016
git config credential.helper '!f() { sleep 1; echo "username=drone"; echo "password=${GIT_PASSWORD}"; }; f'