~eliasnaur/gio-example

8816fdd76a54d6ddadd0c1c60d309dc6c96d7cb3 — Chris Waldon 2 months ago 776bcc6
ci: configure automatic mirroring to GitHub

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 8 insertions(+), 0 deletions(-)

M .builds/linux.yml
M .builds/linux.yml => .builds/linux.yml +8 -0
@@ 20,6 20,9 @@ sources:
 - https://git.sr.ht/~eliasnaur/gio-example
environment:
 PATH: /home/build/sdk/go/bin:/usr/bin:/home/build/go/bin
 github_mirror: git@github.com:gioui/gio-example
secrets:
 - 00000000-0000-0000-0000-000000000000
tasks:
 - install_go: |
     mkdir -p /home/build/sdk


@@ 43,3 46,8 @@ tasks:
            exit 1
        fi
     done
 - mirror: |
     # mirror to github
     ssh-keyscan github.com > "$HOME"/.ssh/known_hosts && cd gio-example && git push --mirror "$github_mirror" || echo "failed mirroring"