From fe483567fa2a946b41bba0ab33bb07225e1b1d9f Mon Sep 17 00:00:00 2001 From: nyyu Date: Mon, 1 Aug 2022 07:58:04 +0200 Subject: [PATCH] fix --- .drone.yml | 1 + build.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 32f03ed..b02f528 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 "/' /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" diff --git a/build.sh b/build.sh index 4a97962..0620e1d 100755 --- a/build.sh +++ b/build.sh @@ -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'