From 1a6c9ed137c7a60c96b388274560eb8a4c4a2b7f Mon Sep 17 00:00:00 2001 From: Elizabeth Perl Date: Thu, 31 Oct 2024 09:42:10 -0400 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f94f03d..e3ebb4da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,10 @@ jobs: x = manual_tex[date_line]) writeLines(text = manual_tex, con = "SS330_User_Manual.tex") shell: Rscript {0} - + + - name: Remove version.txt before committing + run: rm version.txt + # Create HTML - name: Convert tex to html run: pandoc SS330_User_Manual.tex -s -o SS330_User_Manual.html --toc --embed-resources --standalone --mathjax --default-image-extension=png --number-sections --citeproc --variable linkcolor=#0033CC @@ -76,8 +79,8 @@ jobs: source(".github/r_code/edit_html_improve_formatting.R") writeLines(html_txt, "docs/SS330_User_Manual_release.html") file.remove("SS330_User_Manual.html") - shell: Rscript {0} - + shell: Rscript {0} + # Commit tex and html changes - name: Commit changes of tex file version and html in docs folder to repo uses: EndBug/add-and-commit@v9