1
0
Fork 0

Remove dotfiles mirroring
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2023-05-08 19:06:22 +08:00 committed by GitHub
parent a32b8301df
commit 827cbf400b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 30 deletions

View File

@ -1,30 +0,0 @@
name: mirror to dotfiles
on:
push:
branches:
- main
jobs:
mirror:
name: mirror to dotfiles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: load ssh key
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.MIRROR_SSH_PRIVATE_KEY }}"
- name: add remote and push
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
git remote add mirror git@github.com:serverwentdown/dotfiles.git
git push -f mirror main
# vim: set et ts=2 sw=2: