Update Docusaurus version and deploy script

parent 11fd7f7c
......@@ -7,23 +7,23 @@ on:
jobs:
pistacheio-deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -qq npm --no-install-recommends --assume-yes
sudo npm install --global --silent yarn
sudo npm install --global --force --silent npx
sudo apt-get -qq update && sudo apt-get -qq install --assume-yes --no-install-recommends yarnpkg
sudo update-alternatives --install /usr/bin/yarn yarn /usr/bin/yarnpkg 10
sudo yarn global add --silent --no-progress --non-interactive npx
- name: Build docs site
run: |
cd pistache.io
yarn install --non-interactive
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
......
......@@ -12,8 +12,8 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.70",
"@docusaurus/preset-classic": "2.0.0-alpha.70",
"@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.75",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"react": "^16.8.4",
......@@ -31,4 +31,4 @@
"last 1 safari version"
]
}
}
\ No newline at end of file
}
This source diff could not be displayed because it is too large. You can view the blob instead.
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