Skip to content

Commit

Permalink
CI: Fixing artifacts publication
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGr committed Dec 5, 2023
1 parent 38f746e commit 1b78dea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: learn-ocaml-www
path: artifacts/
skip_unpack: true
- name: Get previous artifact learn-ocaml-linux-x86_64
uses: dawidd6/action-download-artifact@v2
with:
Expand All @@ -61,11 +62,10 @@ jobs:
path: artifacts/
- name: Move into place and generate HTML index
run: |
ls -hal _site
ls -hal artifacts
mv artifacts _site
sudo mv artifacts _site
cd _site/artifacts && \
tree -H . -L 1 --noreport --dirsfirst -T Learn-ocaml latest development artifacts' --charset utf-8 -o index.html
tree -H . --noreport --dirsfirst -T 'Learn-ocaml latest development artifacts' --charset utf-8 -o index.html
sudo chown -R root:root _site/artifacts
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

Expand Down

0 comments on commit 1b78dea

Please sign in to comment.