Compare commits

...

2 Commits

Author SHA1 Message Date
ee69659a82 Merge branch 'main' of https://git.hudsonriggs.systems/HRiggs/tools
Some checks failed
Generate README / build (push) Failing after 8s
2025-12-02 23:19:43 -05:00
5b8120eb27 fix remote url 2025-12-02 23:19:42 -05:00

View File

@@ -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}"