Skip to content

Commit

Permalink
ci: don't generate man/index.html symlink
Browse files Browse the repository at this point in the history
this seems to be broken if the actor isn't the owner of the repository
  • Loading branch information
rnpnr committed Jun 9, 2023
1 parent f64a644 commit 5fe6bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/man.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
run: |
make man
wget -O - https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz | tar -zxC man --strip-components 1 mandoc-1.14.6/mandoc.css
ln -sf "${GITHUB_REPOSITORY#*/}.1.html" man/index.html
- name: Upload
env:
Expand All @@ -30,6 +29,7 @@ jobs:
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
mkdir -p /tmp/gh-pages/man
cp -av /tmp/gh-pages/man/index.html man/
rm -f /tmp/gh-pages/man/*
cp -av man/*.html /tmp/gh-pages/man/
cp -av man/*.css /tmp/gh-pages/man/
Expand Down

0 comments on commit 5fe6bf8

Please sign in to comment.