From 56513331be78f521ea7b24a6435468aba3e6a0aa Mon Sep 17 00:00:00 2001 From: sudo-flix <161381289+sudo-flix@users.noreply.github.com> Date: Sat, 2 Mar 2024 21:24:06 -0500 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..2e7632f3 --- /dev/null +++ b/.github/workflows/main.yml @@ -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: wangchucheng/git-repo-sync@v0.1.0 + with: + # Such as https://github.com/wangchucheng/git-repo-sync.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 }}