ci: enforce ssh checkout on all gitea workflows
Adds ssh-key to actions/checkout configurations and fixes yaml indentation in upload_pck.yml
This commit is contained in:
@@ -10,14 +10,14 @@ jobs:
|
||||
container:
|
||||
image: barichello/godot-ci:4.3
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.TEKTON_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan git.klud.top >> ~/.ssh/known_hosts
|
||||
git clone git@git.klud.top:danchie/tekton.git .
|
||||
git checkout ${{ github.ref_name }}
|
||||
- name: Checkout
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.TEKTON_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan git.klud.top >> ~/.ssh/known_hosts
|
||||
git clone git@git.klud.top:danchie/tekton.git .
|
||||
git checkout ${{ github.ref_name }}
|
||||
|
||||
- name: Build PCK
|
||||
run: godot --headless -s tools/build_patch.gd
|
||||
|
||||
Reference in New Issue
Block a user