Merge pull request #1266 from smart-village-solutions/fix/SVA-1384-fi… #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: openCode mirror | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
opencode_mirror: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
# Fetch the entire Git history instead of just the last commit | |
fetch-depth: 0 | |
- name: Pushes to openCode repository | |
uses: wangchucheng/git-repo-sync@v0.1.0 | |
with: | |
target-url: ${{ secrets.MIRROR_TARGET_URL }} | |
target-username: ${{ secrets.MIRROR_TARGET_USERNAME }} | |
target-token: ${{ secrets.MIRROR_TARGET_TOKEN }} |