diff options
| author | KunoiSayami <[email protected]> | 2021-11-04 03:23:33 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2021-11-04 03:32:22 +0800 |
| commit | 73acc25bc709185e5f61f537ddadabb72f0891ef (patch) | |
| tree | 307490f1185cc1f4b35da07252209b2266f265d0 /.gitlab-ci.yml | |
| parent | 82e9a9d7d6b585e80deab2fb3a88f4fe6b33c21d (diff) | |
fix(ci): Fix remote database not sync
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 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/ |
