Skip to content

chore(deps-dev): bump the dependencies group with 2 updates #611

chore(deps-dev): bump the dependencies group with 2 updates

chore(deps-dev): bump the dependencies group with 2 updates #611

Workflow file for this run

name: Mirror Content to French repo
on:
push:
branches:
- master
paths:
- "**/*.*"
- "!CNAME"
- "!.github/**"
- ".github/workflows/sync-french.yml"
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'canada-ca'
steps:
- name: Checkout Main repo
uses: actions/checkout@v4
with:
path: english
- name: Checkout French mirror
uses: actions/checkout@v4
with:
repository: canada-ca/ore-ero-fr
path: french
ref: master
token: ${{ secrets.PUSH_API_TOKEN }}
- name: Copy files from English to French
run: rsync -avr --delete --exclude=*.git/* --exclude=*.github/* --exclude='*CNAME' english/ french
- name: Push back changes to French repo
run: |
cd french
git config --global user.email "[email protected]"
git config --global user.name "canada-bot"
git add -A
git commit -m "Sync Action" || true
git push