added complex damage calculation system #80
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: Sync to GitLab | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # fetch all history | |
- name: Set up Git | |
run: | | |
git config --global user.email "martin.lauterbach@student.reutlingen-university.de" | |
git config --global user.name "Marty, Auto-Pipeline" | |
- name: Add GitLab remote and push | |
env: | |
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} | |
run: | | |
git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.reutlingen-university.de/lauterba/boom-chess.git | |
git checkout -b gitlab-master | |
git push gitlab HEAD:master --force | |