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 27add39
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ name: Build and Publish LaTeX documents
on: [push, pull_request, workflow_dispatch]
jobs:
build_latex:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: true
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 +44,9 @@ 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 add --force .;
svn commit -m 'DA2: ${{ github.event.head_commit.message }}'

0 comments on commit 27add39

Please sign in to comment.