Skip to content

Commit

Permalink
Remove extra dist from path
Browse files Browse the repository at this point in the history
  • Loading branch information
hmakelin committed May 12, 2024
1 parent 035f2b3 commit c5abcf0
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/build_and_deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,29 @@ jobs:
mkdir -p docs/_build
docker run ghcr.io/${{ github.repository }}:latest make docs
docker cp $(docker ps -q -l):/opt/colcon_ws/src/gisnav/docs/vitepress/docs/.vitepress/dist docs
- name: Install node
run: |
sudo apt-get update
sudo apt-get -y install curl
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
sudo apt-get install -y nodejs
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Configure pages
uses: actions/configure-pages@v1

uses: actions/configure-pages@v4
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: "docs"
path: "docs/dist"

deploy:
needs: build

permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Deploy pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit c5abcf0

Please sign in to comment.