diff options
| -rw-r--r-- | .gitlab-ci.yml | 4 | ||||
| -rw-r--r-- | repo/.hook/yay | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a36c756..c5fde09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,14 +25,14 @@ build: script: #- echo -e '\n[archlinuxcn]\nServer = https://repo.archlinuxcn.org/$arch\n' >> /etc/pacman.conf - - echo -e '\n[kunoisayami]\nServer = https://$REPO_REMOTE/$arch\n' >> /etc/pacman.conf + - bash -c "echo -e '\n[kunoisayami]\nServer = https://$REPO_REMOTE/\$arch\n' >> /etc/pacman.conf" - pacman-key --init # import myself key first - curl -fL https://keys.openpgp.org/vks/v1/by-fingerprint/4A0F0C8BC709ACA4341767FB243975C8DB9656B9 | pacman-key --add - - pacman-key --finger 4A0F0C8BC709ACA4341767FB243975C8DB9656B9 - pacman-key --lsign-key 4A0F0C8BC709ACA4341767FB243975C8DB9656B9 #- pacman --noconfirm --needed -Sy archlinuxcn-keyring - - pacman --noconfirm --needed -Su base-devel gnupg git + - pacman --noconfirm --needed -Syu base-devel gnupg git - useradd -m build - echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers #- cp -r ../$CI_PROJECT_TITLE /home/build/ diff --git a/repo/.hook/yay b/repo/.hook/yay deleted file mode 100644 index a9bf588..0000000 --- a/repo/.hook/yay +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash |
