Update sync-to-forgejo.yml
This commit is contained in:
parent
cffc770254
commit
9234f753e3
1 changed files with 4 additions and 2 deletions
6
.github/workflows/sync-to-forgejo.yml
vendored
6
.github/workflows/sync-to-forgejo.yml
vendored
|
@ -15,10 +15,12 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # Henter hele repoet, ikke bare siste commit
|
||||
|
||||
- name: Push to Forgejo
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.name "GitHub Actions"
|
||||
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 push forgejo main
|
||||
git push --force forgejo main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue