Skip to content

Commit

Permalink
ci: push to epi repo
Browse files Browse the repository at this point in the history
  • Loading branch information
SchneiderNicolas committed Sep 15, 2023
1 parent 2af7b96 commit 7f7bc6a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/push-to-epi-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
- name: Checkout source repo
uses: actions/checkout@v2

- name: Debug token length
run: echo "Token has length of ${#TOKEN}"
env:
TOKEN: ${{ secrets.TOKEN }}
- 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

0 comments on commit 7f7bc6a

Please sign in to comment.