Skip to content

Commit

Permalink
Create GitlabSync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcialwushu committed Jul 24, 2021
1 parent 38d6a4c commit a86c2a7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/GitlabSync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: GitlabSync

on:
- push
- delete

jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: marcialwushu/SemanaOmniStack10
with:
# Such as https://github.com/marcialwushu/SemanaOmniStack10.git
target-url: ${{ secrets.TARGET_URL }}
# Such as wangchucheng
target-username: ${{ secrets.TARGET_USERNAME }}
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS\_TOKEN }}
target-token: ${{ secrets.TARGET_TOKEN }}

0 comments on commit a86c2a7

Please sign in to comment.