add ssh
Deploy Website / build (push) Failing after 19s Details

This commit is contained in:
James Ravenscroft 2024-09-08 11:25:58 +01:00
parent e28a6e1f28
commit a5e471825e
1 changed files with 35 additions and 40 deletions

View File

@ -8,7 +8,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check out repo
uses: actions/checkout@v4
@ -16,12 +15,11 @@ jobs:
# run: |
# apt-get update -y
# apt-get install -y python3 python3-pip
# - name: setup bstools
# run: pip install --index-url https://git.jamesravey.me/api/packages/ravenscroftj/pypi/simple/ bstools
- name: Deploy Site
run: |
apt install -y openssh-client
mkdir -p ~/.ssh/
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
@ -35,8 +33,6 @@ jobs:
SSH_PRIVATE_KEY: ${{secrets.SSH_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
# - name: Deploy Notes
# run: |
# mkdir -p ~/.ssh/
@ -48,4 +44,3 @@ jobs:
# env:
# SSH_PRIVATE_KEY: ${{secrets.SSH_KEY}}
# SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}