Unverified Commit af7afd3b authored by Tachi's avatar Tachi

Install yarn with npm, fix dead links, remove note

parent 34b739ba
......@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
build-and-deploy:
pistache.io-deploy:
runs-on: ubuntu-20.04
steps:
......@@ -15,9 +15,9 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install yarnpkg npm --no-install-recommends --assume-yes -qq
sudo update-alternatives --install /usr/bin/yarn yarn /usr/bin/yarnpkg 10
sudo npm install --global --silent npx
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
- name: Build docs site
run: |
......@@ -29,5 +29,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./pistache.io/build
cname: pistache.io
......@@ -48,12 +48,6 @@ void parse(const std::string& data);
This function is used to parse the header from the string representation. Alternatively, to avoid allocating memory for the string representation, a _raw_ version can be used:
:::note Note to the Pistache team
Why not to use a `std::string_view` instead?
:::
```cpp
void parseRaw(const char* str, size_t len);
```
......
......@@ -62,10 +62,6 @@ module.exports = {
{
title: 'More',
items: [
{
label: 'Blog',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/pistacheio/pistache',
......
pistache.io
\ No newline at end of file
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