Skip to content

Commit

Permalink
Hidden files are no longer exported as GH artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgautier committed Dec 2, 2024
1 parent 22de2b2 commit 68d3b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/webpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
python -m rpy2.situation
cd doc
make html
git rev-parse --short HEAD > _build/html/.revforbuild
git rev-parse --short HEAD > _build/html/_revforbuild
- name: Archive documentation
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -77,13 +77,13 @@ jobs:
git rm -r --ignore-unmatch "${DOCPATH}"
echo "Creating docpath."
mkdir -p "${DOCPATH}"
mv html-doc/.revforbuild .
mv html-doc/_revforbuild .
mv -T html-doc "${DOCPATH}"
echo "Adding docpath to local repos"
git add "${DOCPATH}"
if [ -z $(git status -uno --porcelain) ]; then
echo "No changes to be committed."
else
git commit -m "HTML Sphinx build for $(cat .revforbuild)" "${DOCPATH}";
git commit -m "HTML Sphinx build for $(cat _revforbuild)" "${DOCPATH}";
git push;
fi

0 comments on commit 68d3b37

Please sign in to comment.