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