Skip to content

Commit

Permalink
Opt, GitLab mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
andyi95 committed Dec 29, 2023
1 parent 66859b7 commit caaaca7
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 220 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Development version deploy
on:
workflow_dispatch:


env:
DEPLOY_PATH: reader/

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync with Gitlab

on:
- push
- delete

jobs:
sync:
runs-on: ubuntu-latest
name: Sync repo with Gitlab
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
$${{ secrets.GITLAB_REPO }}
ssh_private_key:
${{ secrets.GITLAB_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ dmypy.json
.pyre/
/config.cfg
/frontend-v1/
/frontend/node_modules/
Loading

0 comments on commit caaaca7

Please sign in to comment.