From 5b8120eb27393ed1e49cc0a98a9f5863bc6b3a2c Mon Sep 17 00:00:00 2001 From: HRiggs Date: Tue, 2 Dec 2025 23:19:42 -0500 Subject: [PATCH] fix remote url --- .gitea/workflows/generate-readme.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/generate-readme.yml b/.gitea/workflows/generate-readme.yml index 2c158b4..349f766 100644 --- a/.gitea/workflows/generate-readme.yml +++ b/.gitea/workflows/generate-readme.yml @@ -21,25 +21,9 @@ jobs: fetch-depth: 0 persist-credentials: false - - name: Setup SSH with deploy key - env: - DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} + - name: Setup Git remote run: | - mkdir -p ~/.ssh - chmod 700 ~/.ssh - printf '%s\n' "$DEPLOY_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - eval "$(ssh-agent -s)" - ssh-add ~/.ssh/id_rsa - ssh-keyscan -p 22113 -H git.hudsonriggs.systems >> ~/.ssh/known_hosts - { - echo "Host git.hudsonriggs.systems"; - echo " HostName git.hudsonriggs.systems"; - echo " Port 22113"; - echo " User git"; - } >> ~/.ssh/config - chmod 600 ~/.ssh/config - git remote set-url origin ssh://git@git.hudsonriggs.systems:22113/HRiggs/tools.git + git remote set-url origin https://git.hudsonriggs.systems/HRiggs/tools.git - name: Generate README run: | @@ -60,7 +44,7 @@ jobs: env: BRANCH_NAME: ${{ github.ref_name }} run: | - : "Pushing to branch ${BRANCH_NAME} via SSH" + : "Pushing to branch ${BRANCH_NAME} via HTTPS" git push origin HEAD:"${BRANCH_NAME}"