Skip to content

hosts: setup syncthing on lt-dell-wyse #36

hosts: setup syncthing on lt-dell-wyse

hosts: setup syncthing on lt-dell-wyse #36

Workflow file for this run

name: auto-push
on:
workflow_dispatch:
push:
branches:
- main
- master
jobs:
auto-push:
name: Auto push to private repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- env:
API_TOKEN_GITHUB: ${{ secrets.AUTOMERGE_TOKEN }}
run: |
# https://github.com/cpina/github-action-push-to-another-repository/issues/75
git config --unset-all http.https://github.com/.extraheader
git remote add private https://xddxdd-bot:[email protected]/xddxdd/nixos-config-private-copy.git
git push -u private master --force