add ssh
Deploy Website / build (push) Failing after 19s
Details
Deploy Website / build (push) Failing after 19s
Details
This commit is contained in:
parent
e28a6e1f28
commit
a5e471825e
|
@ -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}}
|
||||
|
Loading…
Reference in New Issue