From 1a854ae78a13731d4e3d4f910b338f1b1938a9cf Mon Sep 17 00:00:00 2001 From: Denis Pisarev Date: Mon, 9 Aug 2021 19:52:32 +0200 Subject: [PATCH] CI: fix gh doc publishing (#567) * CI: fix gh doc publishing * CI: it needs nightly * CI: add wasm32 target * CI: return to running on master --- cumulus/.github/workflows/docs.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cumulus/.github/workflows/docs.yml b/cumulus/.github/workflows/docs.yml index 91baeff727..1ec5e92fca 100644 --- a/cumulus/.github/workflows/docs.yml +++ b/cumulus/.github/workflows/docs.yml @@ -12,10 +12,13 @@ jobs: steps: - name: Checkout repository - uses: actions/actions/checkout@v2.3.4 + uses: actions/checkout@v2.3.4 - - name: Rust show versions - run: rustup show + - name: Rust toolchains and versions + run: | + rustup toolchain install nightly --target wasm32-unknown-unknown + rustup show + rustup +nightly show - name: Rust cache uses: Swatinem/rust-cache@v1 @@ -26,10 +29,8 @@ jobs: command: doc args: --all --no-deps - # Make an index.html file that redirects to the cumulus-client-collator page - # Copied from https://github.com/substrate-developer-hub/rustdocs/blob/master/index.html - name: Make index.html - run: echo "" > ./target/doc/index.html + run: echo "" > ./target/doc/index.html - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3