ci(deploy): use SSH URL for checkout clone
The https://gitea@giteassh.buzzbee.dev:Vibing/... URL parsed the colon as a port. Use the SSH form gitea@giteassh.buzzbee.dev:Vibing/openchamber.git which the runner's deploy key authenticates.
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -rf $GITHUB_WORKSPACE/repo
|
rm -rf $GITHUB_WORKSPACE/repo
|
||||||
mkdir -p $GITHUB_WORKSPACE/repo
|
mkdir -p $GITHUB_WORKSPACE/repo
|
||||||
git clone --depth 1 --branch custom https://gitea@giteassh.buzzbee.dev:Vibing/openchamber.git $GITHUB_WORKSPACE/repo
|
git clone --depth 1 --branch custom gitea@giteassh.buzzbee.dev:Vibing/openchamber.git $GITHUB_WORKSPACE/repo
|
||||||
- name: Show revision
|
- name: Show revision
|
||||||
run: git -C $GITHUB_WORKSPACE/repo rev-parse --short HEAD
|
run: git -C $GITHUB_WORKSPACE/repo rev-parse --short HEAD
|
||||||
- name: Copy workspace to build dir
|
- name: Copy workspace to build dir
|
||||||
|
|||||||
Reference in New Issue
Block a user