Skip to content

Merge pull request #171 from FZJ-IEK3-VSA/setup_github_test_pipeline #3

Merge pull request #171 from FZJ-IEK3-VSA/setup_github_test_pipeline

Merge pull request #171 from FZJ-IEK3-VSA/setup_github_test_pipeline #3

name: Push dev to Jugit
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: FZJ-IEK3-VSA/RESKit
- name: Push To Gitlab
env:
token: ${{ secrets.GITLAB_ACCESS_TOKEN }}
run: |
echo Starting to push repo to gitlab
git config user.name "julian-belina-auto-commit"
git config user.email "[email protected]"
echo user name and email are set
git fetch
git switch dev
echo "Checkout complete"
echo start to push
git push --force https://push_to_jugit:${{ secrets.GITLAB_ACCESS_TOKEN }}@jugit.fz-juelich.de/iek-3/shared-code/RESKit.git dev
echo push done