-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ca9c3a
commit e6d0c31
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,37 +7,37 @@ on: | |
- "v*" | ||
|
||
jobs: | ||
deployEpitech: | ||
runs-on: ubuntu-latest | ||
name: Deploy to EPITECH Repository | ||
# deployEpitech: | ||
# runs-on: ubuntu-latest | ||
# name: Deploy to EPITECH Repository | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v2 | ||
|
||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.DEPLOY_EPITECH_KEY }} | ||
# - name: Setup SSH | ||
# uses: webfactory/[email protected] | ||
# with: | ||
# ssh-private-key: ${{ secrets.DEPLOY_EPITECH_KEY }} | ||
|
||
- name: Clone EPITECH repository | ||
run: | | ||
git clone [email protected]:EpitechPromo2026/G-EIP-700-PAR-7-1-eip-jules.gresset.git | ||
cd G-EIP-700-PAR-7-1-eip-jules.gresset | ||
mkdir -p -v Back-End | ||
rsync -av --delete ../ Back-End/ --exclude .git --exclude G-EIP-700-PAR-7-1-eip-jules.gresset/ | ||
# - name: Clone EPITECH repository | ||
# run: | | ||
# git clone [email protected]:EpitechPromo2026/G-EIP-700-PAR-7-1-eip-jules.gresset.git | ||
# cd G-EIP-700-PAR-7-1-eip-jules.gresset | ||
# mkdir -p -v Back-End | ||
# rsync -av --delete ../ Back-End/ --exclude .git --exclude G-EIP-700-PAR-7-1-eip-jules.gresset/ | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.name "Jules Gresset" | ||
git config --global user.email "[email protected]" | ||
# - name: Configure Git | ||
# run: | | ||
# git config --global user.name "Jules Gresset" | ||
# git config --global user.email "[email protected]" | ||
|
||
- name: Push to EPITECH repository | ||
run: | | ||
cd G-EIP-700-PAR-7-1-eip-jules.gresset | ||
git add . | ||
git commit -m "Update from Back-End (Automation)" | ||
git push origin main | ||
# - name: Push to EPITECH repository | ||
# run: | | ||
# cd G-EIP-700-PAR-7-1-eip-jules.gresset | ||
# git add . | ||
# git commit -m "Update from Back-End (Automation)" | ||
# git push origin main | ||
|
||
deployVPSCA: | ||
|
||
|