up: Removed API_URL and API_PORT from .env.local.sample file.
#18
This file contains hidden or 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: Epitech Repository Synchronization | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| MIRROR_URL: [email protected]:EpitechPGE3-2025/G-DEV-500-REN-5-1-area-5.git | |
| MIRROR_WIKI_URL: [email protected]:EpitechPGE3-2025/G-DEV-500-REN-5-1-area-5.wiki.git | |
| jobs: | |
| sync-code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Epitech repository | |
| uses: pixta-dev/repository-mirroring-action@v1 | |
| with: | |
| target_repo_url: | |
| ${{ env.MIRROR_URL }} | |
| ssh_private_key: | |
| ${{ secrets.SSH_PRIVATE_KEY }} | |
| sync-wiki: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup SSH key | |
| uses: webfactory/[email protected] | |
| with: | |
| ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: Checkout wiki repo | |
| run: | | |
| git clone --mirror "[email protected]:${{ github.repository }}.wiki.git" source.wiki | |
| - name: Push wiki to Epitech repository | |
| run: | | |
| cd source.wiki | |
| git push --mirror ${{ env.MIRROR_WIKI_URL }} |