File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+ name : " Mirror To Codeberg"
3+ # Controls when the action will run. Triggers the workflow on push or pull request
4+ # events but only for the master branch
5+ on :
6+ push :
7+ branches :
8+ - ' **'
9+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10+ jobs :
11+ # This workflow contains a single job called "build"
12+ build :
13+ # The type of runner that the job will run on
14+ runs-on : ubuntu-latest
15+ # Steps represent a sequence of tasks that will be executed as part of the job
16+ steps :
17+ - uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+ - name : mirror-repository
21+ uses : spyoungtech/mirror-action@master
22+ with :
23+ REMOTE : git@gitlab.com:spyoungtech/mirror-action.git
24+ GIT_SSH_PRIVATE_KEY : ${{ secrets.GIT_SSH_KEY }}
25+ GIT_SSH_KNOWN_HOSTS : ${{ secrets.GIT_SSH_KNOWN_HOSTS }}
You can’t perform that action at this time.
0 commit comments