Update CI to upload unstable docs.
Next step will be responsible for merging released and unstable docs.
Next step will be responsible for merging released and unstable docs.
- name: ๐ Documentation (Docusaurus)
working-directory: docs
run: |
sed -i 's/head-protocol/head-protocol\/unstable/' docusaurus.config.js
yarn && yarn build
yarn validate
mkdir -p public/head-protocol
mv build/* public/head-protocol
mkdir -p public/unstable
mv build/* public/unstable
echo "hydra.family" > public/CNAME
echo '<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; URL=https://hydra.family/head-protocol"></head></html>' > public/index.html
echo '<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; URL=https://hydra.family/head-protocol/unstable"></head></html>' > public/index.html
- name: ๐ข Publish Documentation
if: github.event_name == 'push'
uses: peaceiris/[email protected]
- name: ๐พ Upload unstable docs as an artifact
uses: actions/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN || github.token }}
publish_dir: docs/public
enable_jekyll: true
force_orphan: true
name: unstable
path: ./docs/public/unstable
Includes direct 1:1 wrappers for misc builders (#197) and tx_builder (#210)
Wrappers around custom-written code written earlier for the rust crate.
Previous work on the builders/etc updates rust but introduced things caused the WASM to no longer compile. This updates the WASM bindings as well. Includes genesis module that wasn't pushed before.