Merge pull request #70 from Probesys/release/1.6.4 #133
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: Mirroring | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
to_gitlab: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
env: | |
token: ${{ secrets.GITLAB_ACCESS_TOKEN }} | |
- name: Push To Gitlab | |
run: | | |
echo Starting to push repo to gitlab | |
git config user.name "githubBot" | |
git config user.email "githubBot@users.noreply.github.com" | |
git remote add gitlab "https://githubBot:${{ secrets.GITLAB_ACCESS_TOKEN }}@gitlab.probesys.com/agentj/agentj-docker.git" | |
git fetch --all | |
git push gitlab |