Skip to content

Commit

Permalink
Add action to push changes to the brgm (#3610)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riron authored Oct 8, 2024
1 parent 926ff46 commit 345a041
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/brgm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Push to the BRGM GitLab repository

on:
schedule:
- cron: '0 2 * * *' # Run every day at 2 AM
workflow_dispatch: # Allow manual trigger

jobs:
push-to-gitlab:
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Set up Git
run: |
git config --global user.name "TD GH Action"
git config --global user.email "[email protected]"
- name: Add remote & push
run: |
git remote add brgm ${{ secrets.BRGM_GITLAB_URL }}
git push brgm --all

0 comments on commit 345a041

Please sign in to comment.