Skip to content

Commit

Permalink
feature/mx-1522 open-code workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cutoffthetop committed Jan 18, 2024
1 parent d866227 commit 99b4cb5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/robert-koch-institut/mex-template",
"commit": "fb8fdbbc28f15d99939d22915b49348150d1d534",
"commit": "13034bb01a8da263e669936438ca099ea4e56afb",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/open-code.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 99b4cb5

Please sign in to comment.