diff --git a/.cruft.json b/.cruft.json index f21bb662..107543a8 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/robert-koch-institut/mex-template", - "commit": "fb8fdbbc28f15d99939d22915b49348150d1d534", + "commit": "13034bb01a8da263e669936438ca099ea4e56afb", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/open-code.yml b/.github/workflows/open-code.yml new file mode 100644 index 00000000..a3919dac --- /dev/null +++ b/.github/workflows/open-code.yml @@ -0,0 +1,22 @@ +name: OpenCoDE + +on: + push: + branches: ["main"] + workflow_dispatch: + +jobs: + sync: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout repo + uses: actions/checkout@v3 + with: + ref: 'main' + fetch-depth: 0 + - name: Push main branch + run: | + git remote add opencode https://${{ secrets.OPENCODE_USER }}:${{ secrets.OPENCODE_TOKEN }}@gitlab.opencode.de/robert-koch-institut/mex/mex-model.git + git push opencode -f + git push opencode -f --tags diff --git a/CHANGELOG.md b/CHANGELOG.md index ce690540..99b13c32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CHANGELOG file - cruft template link - sphinx configuration and documentation workflow +- open-code workflow ### Changes