This commit is contained in:
howardwu 2020-08-12 17:25:22 -07:00
parent 556f1d4b39
commit 216a552ae9

View File

@ -92,17 +92,20 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Load snarkOS # - name: Load snarkOS
run: | # run: |
echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > /c/Users/runneradmin/.ssh/id_rsa # echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > /c/Users/runneradmin/.ssh/id_rsa
chmod 600 /c/Users/runneradmin/.ssh/id_rsa # chmod 600 /c/Users/runneradmin/.ssh/id_rsa
eval $(ssh-agent -s) # eval $(ssh-agent -s)
ssh-add -k /c/Users/runneradmin/.ssh/id_rsa # ssh-add -k /c/Users/runneradmin/.ssh/id_rsa
# - uses: shimataro/ssh-key-action@v2 # - uses: shimataro/ssh-key-action@v2
# with: # with:
# key: ${{ secrets.SNARKOS_DEPLOY_KEY }} # key: ${{ secrets.SNARKOS_DEPLOY_KEY }}
# name: id_rsa # name: id_rsa
# known_hosts: ${{ secrets.KNOWN_HOSTS }} # known_hosts: ${{ secrets.KNOWN_HOSTS }}
- uses: fusion-engineering/setup-git-credentials@v2
with:
credentials: ${{ secrets.SNARKOS_DEPLOY_KEY }}
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1