diff --git a/.github/workflows/ScriptPython.yml b/.github/workflows/ScriptPython.yml index af818b9..3adaa86 100644 --- a/.github/workflows/ScriptPython.yml +++ b/.github/workflows/ScriptPython.yml @@ -28,8 +28,8 @@ jobs: with: fetch-depth: 0 submodules: recursive - # token: ${{ secrets.SUBMODULES_TOKEN }} - token: ${{ secrets.PUSH_TOKEN }} + token: ${{ secrets.SUBMODULES_TOKEN }} + # token: ${{ secrets.PUSH_TOKEN }} persist-credentials: true # ============================================================ @@ -42,12 +42,12 @@ jobs: echo "========================================" echo "INSTALLATION THERION" echo "========================================" + set -euxo pipefail sudo apt-get update - sudo apt-get install -y --no-install-recommends therion survex - echo "" - echo "========================================" - echo "VERIFICATION THERION / SURVEX" - echo "========================================" + sudo apt-get install -y wget ca-certificates + wget -O /tmp/therion.deb https://archive.ubuntu.com/ubuntu/pool/universe/t/therion/therion_6.4.0-1build1_amd64.deb + sudo apt-get install -y /tmp/therion.deb + echo "=== Version installée ===" therion --version cavern --version echo "========================================" @@ -518,7 +518,10 @@ jobs: # 4. Remplacer les identifiants Git persistés par checkout # par ceux de PUSH_TOKEN, sans afficher le jeton. AUTH_HEADER="$(printf 'x-access-token:%s' "${PUSH_TOKEN}" | base64 -w 0)" - git config --local --replace-all http.https://github.com/.extraheader "AUTHORIZATION: basic ${AUTH_HEADER}" + # Supprimer l'en-tête d'authentification existant, + # puis configurer celui de PUSH_TOKEN. + git config --local --unset-all http.https://github.com/.extraheader || true + git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ${AUTH_HEADER}" unset AUTH_HEADER echo "Authentification Git configurée pour PUSH_TOKEN." diff --git a/Synthese-PSM_LARRA-Full.thconfig b/Synthese-PSM_LARRA-Full.thconfig index 26843df..fbcfdf9 100644 --- a/Synthese-PSM_LARRA-Full.thconfig +++ b/Synthese-PSM_LARRA-Full.thconfig @@ -351,8 +351,8 @@ layout my_layout_atlas # min-symbol-scale S # XL, L, M, S, XS code tex-atlas - \def\atlaslogo{./Logos/Logo-ARSIP-Synthese-Topographique_XS.png} - \def\atlasheaderlogo{./Logos/Logo-ARSIP-Synthese-Topographique.png} + %\def\atlaslogo{./Logos/Logo-ARSIP-Synthese-Topographique_XS.png} + %\def\atlasheaderlogo{./Logos/Logo-ARSIP-Synthese-Topographique.png} \legendtextheadersize={\size[40]} %% Taille de la police du titre \legendtextsize={\size[12]} # %\legendtextsectionsize={\size[40]} %% Taille de la police de la légende @@ -388,9 +388,7 @@ select MC-Synthese_PSM-Extended-tot@Synthese-PSM_LARRA # Export des fichiers pdf, plan et coupe. # ATTENTION, la topo étant énorme, il faut mettre l'option ne traçant pas la centerline ! export map -projection plan -fmt pdf -layout my_layout -o Outputs/Synthese-PSM_LARRA-Plan.pdf -export cave-list -surveys off -location on -o Outputs/Synthese-PSM_LARRA-Cave-list.txt -# export atlas -o Outputs/Synthese-PSM_LARRA-Atlas.pdf -layout my_layout_atlas -# export map -projection plan -fmt pdf -layout my_layout -o Outputs/Synthese-PSM_LARRA-Plan.pdf +export atlas -o Outputs/Synthese-PSM_LARRA-Atlas.pdf -layout my_layout_atlas # export map -projection plan -fmt xhtml -layout my_layout -o Outputs/Synthese-PSM_LARRA-Plan.xhtml # export map -projection plan -fmt svg -layout my_layout -o Outputs/Synthese-PSM_LARRA-Plan.svg # export map -projection extended -fmt pdf -layout layout-coupe -o Outputs/GL102_Puits-Coupe.pdf @@ -419,3 +417,4 @@ export database -fmt sql -o Outputs/DB_Synthese-PSM_LARRA.sql export model -fmt kml -o Outputs/Synthese-PSM_LARRA-model.kml -enable all # export model -enable all -o Outputs/Synthese-PSM_LARRA-3D.kml export survey-list -location on -o Outputs/Synthese-PSM_LARRA-Surveys.html + export cave-list -surveys off -location on -o Outputs/Synthese-PSM_LARRA-Cave-list.txt \ No newline at end of file