This repository has been archived by the owner on May 28, 2024. It is now read-only.
ci: use one workflow and matrix to replace three workflows #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: wangchucheng/[email protected] | |
with: | |
target-url: ${{ secrets.TARGET_URL }} | |
target-username: ${{ secrets.TARGET_USERNAME }} | |
target-token: ${{ secrets.TARGET_TOKEN }} |