From 4effb8de6c3e413026677fc1c96a059876ca73db Mon Sep 17 00:00:00 2001 From: Nicola Zangrandi Date: Tue, 21 Jan 2025 17:15:23 +0100 Subject: [PATCH] Cloning repo with ssh instead --- .forgejo/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index a955ff8..c296c8e 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -4,6 +4,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + github-server-url: 'ssh://tehga.me:999' + ssh-user: gitea + ssh-key: "${{ secrets.ALTAIR_SSH_KEY }}" + ssh-known-hosts: | + [tehga.me]:999 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCy10TDiDHFjA6bL/o/iQT/qngobvjS/3vahSbr3o1274fj2tQ1/+j8Z2r9w22bl30vcMkd8sWX7Js/oGq0Dr+JWyKD/KpBWopXJTcnuOnoYDLcxU9XJ2XuxGYFeZ7DtcXWpSwAFeHWYKQya4/RQa/iqRxdf/9SRPWutWfv7h4ZPgdHhxElq67u2AzE/KB5LHATzpfg9aWJB0yBxS0kQzFfYo41HHQqXdDmAp7VAuQhj3AfcjX4jgVnt1mOlIQfwpRoRGXW5NMYkF+phc2ezCDqug+61JZzd1vEF3/0UkjQdB4P3MiijhceBt6sf9HW2YRyC+E9WY1Ew28LJaV4NTL9gh+YymBBJvX1CrTA1fAltKJyZl2+Mn/KvvHcLqkbGjp1Ba7PTkZiPKfE8uZsVHfMA09/63xqYm94lCeWgiW47CfTnRa4R/MITz1Pnp9pfZELkGSj/t223cL809CDyQrtc0v5j0Osq23T7i9zqgR+vbFHaEWscptvfA/SVy3+jq7mZDoJTcJPFWzWKmCD7Q1wLO5bJE8IY7F++INWgd4H5DaXq+fEjMTMYzksAwjYc5rZbyroWXxLQpTVvzrmHiMELySqIlYNt7nOYmbX1AwFrIscgGMDd1F2eLajRznSm0H41K9re8vCCtNIen2VCs6tUVnTg6pwj0/12KBfkYHoEw== + [tehga.me]:999 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN2dRHeqGCBzaP+S2ar5Vv+BSv0qM9EriohuvuZfLyx6 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod'