forked from LengKundee/MQL5-Google-Onedrive
- Added .github/workflows/gitlab-sync.yml for automated synchronization. - Fixed scripts/setup_gitlab_runner.sh with the provided runner authentication token. - Finalized .gitlab-ci.yml and docs/GITLAB_INTEGRATION.md.
21 lines
437 B
YAML
21 lines
437 B
YAML
name: GitLab Sync
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Sync to GitLab
|
|
run: |
|
|
git remote add gitlab https://project_access_token:${{ secrets.GITLAB_ACCESS_TOKEN }}@gitlab.com/a6-nuna-9v/V9.git
|
|
git push gitlab main --force
|