Update Docusaurus version and deploy script

parent 11fd7f7c
...@@ -7,23 +7,23 @@ on: ...@@ -7,23 +7,23 @@ on:
jobs: jobs:
pistacheio-deploy: pistacheio-deploy:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update && sudo apt-get install -qq npm --no-install-recommends --assume-yes sudo apt-get -qq update && sudo apt-get -qq install --assume-yes --no-install-recommends yarnpkg
sudo npm install --global --silent yarn sudo update-alternatives --install /usr/bin/yarn yarn /usr/bin/yarnpkg 10
sudo npm install --global --force --silent npx sudo yarn global add --silent --no-progress --non-interactive npx
- name: Build docs site - name: Build docs site
run: | run: |
cd pistache.io cd pistache.io
yarn install --non-interactive yarn install --non-interactive
yarn build yarn build
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
"clear": "docusaurus clear" "clear": "docusaurus clear"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-alpha.70", "@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.70", "@docusaurus/preset-classic": "2.0.0-alpha.75",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"react": "^16.8.4", "react": "^16.8.4",
...@@ -31,4 +31,4 @@ ...@@ -31,4 +31,4 @@
"last 1 safari version" "last 1 safari version"
] ]
} }
} }
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment