Skip to content

Commit

Permalink
Workflow: Commit to SVN
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthi-chaud committed Sep 24, 2023
1 parent 52492d7 commit f89f1a2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
matrix:
include:
- source: "./user_documentation/root.tex"
out: "2024_UD1_Chromacase.pdf"
out: "2024_UD2_Chromacase.pdf"
name: "User Documentation"
- source: "./tech_documentation/root.tex"
out: "2024_TD1_Chromacase.pdf"
out: "2024_TD2_Chromacase.pdf"
name: "Technical Documentation"
name: "Build ${{ matrix.name }}"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -43,6 +43,8 @@ jobs:
run: svn co "${{ secrets.SVN_URL }}" svn --username '${{ secrets.SVN_UNAME }}' --password '${{ secrets.SVN_PWD }}'
- name: Move Generated files
run: mv *.pdf svn/rendu
- name: List delivery files
run: ls -l svn/rendu
- name: Commit files
run: |
cd svn/rendu
svn commit -m 'DA2: ${{ github.event.head_commit.message }}' --username '${{ secrets.SVN_UNAME }}' --password '${{ secrets.SVN_PWD }}'

0 comments on commit f89f1a2

Please sign in to comment.