From 6c552cdff4b33cb4176711077bc4d8157a04289c Mon Sep 17 00:00:00 2001 From: Max Headroom Date: Sun, 30 Jan 2022 23:59:16 +0000 Subject: [PATCH] CI: protect private key --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb98b72..7bdaed7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,4 +6,5 @@ update: - git config user.name "CI" - git commit -m '[CI] Update extensions' || exit 0 - git remote add pushback gitlab@git.privatevoid.net:max/nix-crx.git || true + - chmod 400 $PUSHBACK_KEY - GIT_SSH_COMMAND="ssh -i $PUSHBACK_KEY" git push pushback :master