How to install PageShare on CI?
PageShare CLI requires additional system dependencies to run Chromium browser.
That's why, the easiest way to use PageShare in your CI jobs is by docker.
docker run --rm -v "$(pwd)/dist:/usr/share/pageshare/dist" pageshare/cli /usr/share/pageshare/dist --access-token ...
Make sure that
$(pwd)/dist points to a folder when your built frontend project can be found (this folder needs to include
Copy your private access token from the PageShare settings page and use it as the
--access-token parameter value. Keep it as a secret. It guarantees that no one else will get access to your PageShare account.
--access-token, you can provide all other parameters that are supported by our NPM package. If you want to integrate with GitHub, remember to provide