mirror of
https://github.com/libredirect/instances.git
synced 2024-12-06 19:26:17 +01:00
Updated main.yml
This commit is contained in:
@@ -20,15 +20,13 @@ jobs:
|
||||
git config --local user.name "GitHub Action"
|
||||
git add -A
|
||||
git commit -m "Update instances" -a || :
|
||||
# Push to Github
|
||||
- uses: ad-m/github-push-action@v0.6.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
# Push to Codeberg
|
||||
- shell: bash
|
||||
env:
|
||||
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
|
||||
- run: |
|
||||
run: |
|
||||
git config --unset-all http.https://github.com/.extraheader
|
||||
git push https://manerakai:$CODEBERG_TOKEN@codeberg.org/LibRedirect/instances
|
||||
|
||||
Reference in New Issue
Block a user