From 233ef24a0717900732fd50b36b6f851f3465532f Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 16 Nov 2022 13:50:26 +1300 Subject: [PATCH] Removed defunct gitlab ci yaml. --- .gitlab-ci.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 331bbe2..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,31 +0,0 @@ -before_script: - - # Ensure prerequisites are installed - - 'which ssh-agent || (apk update && apk add openssh-client git)' - - # Launch ssh agent and add our key - - eval $(ssh-agent -s) - - echo "${SSH_PRIVATE_KEY}" | tr -d '\r' | ssh-add - > /dev/null - - # Ensure known hosts exists and is populated - - mkdir ~/.ssh && chmod 700 ~/.ssh - - ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts - -push_github: - type: deploy - environment: - name: github - url: github.com/jmhbnz/tooling - script: - # Output git status - - git checkout master && git pull && git status - - # Add a new remote for github - - git remote add github git@github.com:jmhbnz/tooling.git || true - - # Push to the new remote - - git push github master - - only: - refs: - - master