Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberes authored Jul 1, 2024
1 parent 19066c2 commit d2f5893
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/freematics-traccar-encrypted.git'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d2f5893

Please sign in to comment.