Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
straumat committed Jan 15, 2024
1 parent 68a69ca commit a0cd7a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ jobs:
gqldoc -s "docs/docs/.vuepress/public/api/graphql/definition/*.graphqls" -o ./docs/docs/fr/tutorial/graphql-api-documentation
# ================================================================================================================
- name: Install vuepress, set release number, and build the website
run: |
find . -type f -name "*.md" -exec sed -i 's/CASSANDRE_LATEST_RELEASE/${{ steps.getLatestRelease.outputs.release }}/g' {} \;
yarn --cwd docs add -D vuepress@next
yarn --cwd docs install
yarn --cwd docs docs:build docs
#- name: Install vuepress, set release number, and build the website
# run: |
# find . -type f -name "*.md" -exec sed -i 's/CASSANDRE_LATEST_RELEASE/${{ steps.getLatestRelease.outputs.release }}/g' {} \;
# yarn --cwd docs add -D vuepress@next
# yarn --cwd docs install
# yarn --cwd docs docs:build docs

# ================================================================================================================
- name: Deploy the website to github pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: docs/docs/.vuepress/dist
commit-message: "Website deployment"
clean: true
#- name: Deploy the website to github pages
# uses: JamesIves/github-pages-deploy-action@v4.4.3
# with:
# branch: gh-pages
# folder: docs/docs/.vuepress/dist
# commit-message: "Website deployment"
# clean: true
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"@vuepress/client": "2.0.0-beta.67",
"vue": "^3.3.2",
"vuepress": "2.0.0-beta.62"
"vuepress": "^2.0.0-rc.0"
}
}

0 comments on commit a0cd7a9

Please sign in to comment.