Skip to content

Commit

Permalink
Fix upload
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey committed Jul 2, 2024
1 parent 268ea01 commit 4366b60
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: npm run build -- --base-href "${{ steps.pages.outputs.base_url }}/"
# Upload the artifact for local preview
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-artifact@v4
with:
name: website
path: dist
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

# Upload the artifact for local preview
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: .build
Expand All @@ -78,10 +78,16 @@ jobs:
steps:
- uses: actions/download-artifact@v4
id: download
path: ./
with:
merge-multiple: true
- name: list
run: ls -aR
- name: Upload merged
uses: actions/upload-artifact@v4
with:
name: website-docs-merged
path: ./
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v4
# if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/test_sphinx_docs'
Expand Down

0 comments on commit 4366b60

Please sign in to comment.