Update sync-to-forgejo.yml
Some checks are pending
Post Changelog to Discord / post_to_discord (push) Waiting to run
Sync to Forgejo / mirror (push) Waiting to run

This commit is contained in:
Jørgen Ferdinand 2025-07-12 15:41:35 +02:00 committed by GitHub
parent cffc770254
commit 9234f753e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,10 +15,12 @@ jobs:
with: with:
fetch-depth: 0 # Henter hele repoet, ikke bare siste commit fetch-depth: 0 # Henter hele repoet, ikke bare siste commit
- name: Push to Forgejo - name: Configure Git
run: | run: |
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com" git config --global user.email "actions@github.com"
- name: Push to Forgejo
run: |
git remote add forgejo https://Ferdinand99:${{ secrets.FORGEJO_TOKEN }}@git.opland.net/Ferdinand99/home-assistant-newt-addon.git git remote add forgejo https://Ferdinand99:${{ secrets.FORGEJO_TOKEN }}@git.opland.net/Ferdinand99/home-assistant-newt-addon.git
git push forgejo main git push --force forgejo main