Skip to content

Commit

Permalink
Merge pull request #93 from specklesystems/ci/use-contexts
Browse files Browse the repository at this point in the history
CI: Use contexts and ssh
  • Loading branch information
AlanRynne authored Jan 6, 2023
2 parents fcd1bab + b49a513 commit 1582266
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,18 @@ jobs:
docker:
- image: cimg/base:2021.01
steps:
- run: # Could not get ssh to work, so using a personal token
- add_ssh_keys:
fingerprints:
- "d1:d5:96:4d:ed:58:6e:7f:58:cc:21:5f:94:20:76:49"
- run:
name: I know Github as a host
command: |
mkdir ~/.ssh
touch ~/.ssh/known_hosts
ssh-keyscan github.com >> ~/.ssh/known_hosts
- run:
name: Clone
command: git clone https://$GITHUB_TOKEN@github.com/specklesystems/speckle-sharp-ci-tools.git speckle-sharp-ci-tools
command: git clone git@github.com:specklesystems/speckle-sharp-ci-tools.git speckle-sharp-ci-tools
- persist_to_workspace:
root: ./
paths:
Expand Down Expand Up @@ -190,4 +199,5 @@ workflows: #happens with every PR to main
tags:
only: /([0-9]+)\.([0-9]+)\.([0-9]+)(?:-\w+)?$/
branches:
ignore: /.*/ # For testing only! /ci\/.*/
ignore: /.*/ # For testing only! /ci\/.*/
context: do-spaces-speckle-releases

0 comments on commit 1582266

Please sign in to comment.