Skip to content

Commit

Permalink
create GitHub action to sync to openCoDE
Browse files Browse the repository at this point in the history
  • Loading branch information
cutoffthetop committed Jan 18, 2024
1 parent c456e8d commit 72f6d36
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/open-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: OpenCoDE

on:
push:
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Github repository
uses: actions/checkout@v3
with:
persist-credentials: false
ref: 'main'
- name: Force push main branch
run: |
git remote add opencode https://RKIOpenData:${{ secrets.OPENCODE_TOKEN }}@gitlab.opencode.de/mex/mex-common.git
git push opencode -f
git push opencode -f --tags

0 comments on commit 72f6d36

Please sign in to comment.