Add GIT_TOKEN
This commit is contained in:
@@ -36,6 +36,9 @@ jobs:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
|
||||
- name: Configure git auth for Gitea
|
||||
run: |
|
||||
git config --global url."https://oauth2:${{ secrets.GIT_TOKEN }}@gitea.radiantwavetech.com/".insteadOf "https://gitea.radiantwavetech.com/"
|
||||
|
||||
- name: Update radiantwave-dev
|
||||
run: |
|
||||
@@ -60,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
git config user.email "ci@radiantwavetech.com"
|
||||
git config user.name "RadiantWave CI"
|
||||
git remote set-url origin https://oauth2:${{ secrets.FORGEJO_TOKEN }}@gitea.radiantwavetech.com/RadiantWaveTech/KioskConfig.git
|
||||
git remote set-url origin https://oauth2:${{ secrets.GIT_TOKEN }}@gitea.radiantwavetech.com/RadiantWaveTech/KioskConfig.git
|
||||
git add flake.lock
|
||||
git commit -m "chore: update radiantwave-dev to latest dev" || echo "Nothing to commit"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user