Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberes authored Aug 13, 2024
1 parent 68a444c commit c1b5f70
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Mirror'
on:
push:
branches:
- __mirror
schedule:
- cron: '* 3 * * *'
workflow_dispatch:

jobs:
Mirror:
runs-on: ubuntu-latest
name: mirror
steps:
- name: Fix git safe.directory in container
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
- name: mirror
id: mirror
uses: bridgelightcloud/github-mirror-action@v1
with:
origin: 'https://git.evulid.cc/cyberes/proxy-loadbalancer.git'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c1b5f70

Please sign in to comment.