Skip to content

Commit 2755640

Browse files
authored
Merge pull request #10 from certtools/publish
Publish
2 parents 87b7b90 + e14794b commit 2755640

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/mkdocs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ jobs:
4141
- name: "Install APT dependencies"
4242
run: |
4343
wget https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-1-amd64.deb
44-
apt update
45-
apt install -y ./pandoc-3.7.0.2-1-amd64.deb
46-
apt install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
44+
sudo apt update
45+
sudo apt install -y ./pandoc-3.7.0.2-1-amd64.deb
46+
sudo apt install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
4747
tlmgr init-usertree
48-
tlmgr repository add ftp://tug.org/historic/systems/texlive/2021/tlnet-final
48+
version=$(tlmgr --version | awk '/version/ {print $5}')
49+
tlmgr repository add ftp://tug.org/historic/systems/texlive/${version}/tlnet-final
4950
tlmgr repository remove https://mirror.ctan.org/systems/texlive/tlnet
50-
tlmgr option repository ftp://tug.org/historic/systems/texlive/2021/tlnet-final
51+
tlmgr option repository ftp://tug.org/historic/systems/texlive/${version}/tlnet-final
5152
tlmgr install sourcecodepro draftwatermark
5253
5354
- name: "Install Python dependencies"

0 commit comments

Comments
 (0)