working around this new container
Some checks failed
Publish Website / publish (push) Failing after 15s
Some checks failed
Publish Website / publish (push) Failing after 15s
This commit is contained in:
@@ -34,14 +34,12 @@ jobs:
|
|||||||
echo "$SSH_KEY" >> ~/.ssh/id_rsa
|
echo "$SSH_KEY" >> ~/.ssh/id_rsa
|
||||||
chmod 400 ~/.ssh/id_rsa
|
chmod 400 ~/.ssh/id_rsa
|
||||||
ssh-add ~/.ssh/id_rsa
|
ssh-add ~/.ssh/id_rsa
|
||||||
shasum -a 256 ~/.ssh/id_rsa
|
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# 3. Trust the Gitea host key (port 222)
|
# 3. Trust the Gitea host key (port 222)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
- name: Trust Gitea host key
|
- name: Trust Gitea host key
|
||||||
#shell: bash
|
#shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
|
||||||
ssh-keyscan -H gitea 2>/dev/null >> ~/.ssh/known_hosts
|
ssh-keyscan -H gitea 2>/dev/null >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user