From a3f567865deb91c5756a2a89c2ce0b9d9252f11f Mon Sep 17 00:00:00 2001 From: Jonas Hinterdorfer Date: Mon, 17 Mar 2025 12:49:07 +0100 Subject: [PATCH] removed workflow --- .github/workflows/pushtoGitea.yaml | 33 ------------------------------ 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/pushtoGitea.yaml diff --git a/.github/workflows/pushtoGitea.yaml b/.github/workflows/pushtoGitea.yaml deleted file mode 100644 index 496a620..0000000 --- a/.github/workflows/pushtoGitea.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Push to Gitea - -on: - push: - branches: - - main # or your desired branch - -jobs: - push_to_gitea: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up Git for Gitea - run: | - git config --global user.name "GitHub" - git config --global user.email "repo@github.com" - git remote add gitea "ssh://git@git.ionas999.at:9002/jonas/text-adventure.git" # Updated Gitea repo URL - - - name: Set up SSH key for Gitea - run: | - mkdir -p ~/.ssh - echo "${{ secrets.GITA_SECRET }}" > ~/.ssh/id_rsa # Use the 'GITA_SECRET' secret for the private key - chmod 600 ~/.ssh/id_rsa # Ensure proper permissions for the SSH key - ssh-keyscan git.ionas999.at >> ~/.ssh/known_hosts # Add Gitea server to known hosts - - - name: Push to Gitea - run: | - git push --force gitea main # Replace 'main' with the desired branch - -