Skip to content

ci: push to epi repo #7

ci: push to epi repo

ci: push to epi repo #7

name: Push to Another Repository
on:
push:
branches:
- main
jobs:
push-to-destination:
if: github.repository == 'SchneiderNicolas/PWA'
runs-on: ubuntu-latest
steps:
- name: Checkout source repo
uses: actions/checkout@v2
- name: Push to destination repo
run: |
git config --global user.email "[email protected]"
git config --global user.name "Nicolas Schneider"
git remote add destination https://x-access-token:${{ secrets.TOKEN }}@github.com/EpitechPromo2024/M-WEB-902-PAR-9-1-pwaproject-nicolas.schneider.git
git push destination main