Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
e-perl-NOAA authored Oct 31, 2024
1 parent 36e8c01 commit 1a6c9ed
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1a6c9ed

Please sign in to comment.