forked from polkadot-evm/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve CI Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Use nightly-2022-05-02 Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Remove useless submodule Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Make test more stable Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Some nits Signed-off-by: koushiro <koushiro.cqx@gmail.com> * remove strategy Signed-off-by: koushiro <koushiro.cqx@gmail.com>
- Loading branch information
Showing
4 changed files
with
63 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,46 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
release: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
release: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
- name: Rust Setup | ||
run: | | ||
scripts/init.sh | ||
cargo --version | ||
rustc --version | ||
cargo +$WASM_BUILD_TOOLCHAIN --version | ||
rustc +$WASM_BUILD_TOOLCHAIN --version | ||
env: | ||
WASM_BUILD_TOOLCHAIN: nightly-2022-02-07 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
- name: Rust Setup | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly-2022-05-02 | ||
target: wasm32-unknown-unknown | ||
override: true | ||
components: rust-docs | ||
|
||
- name: Build website | ||
run: | | ||
cd docs | ||
yarn install | ||
yarn run build | ||
- name: Build website | ||
run: | | ||
cd docs | ||
yarn install | ||
yarn run build | ||
- name: Build rustdocs | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: doc | ||
args: --all --no-deps | ||
- name: Build rustdocs | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: doc | ||
args: --all --no-deps | ||
|
||
- name: Copy rustdocs | ||
run: | | ||
cp -r ./target/doc docs/.vuepress/dist/rustdocs | ||
- name: Copy rustdocs | ||
run: | | ||
cp -r ./target/doc docs/.vuepress/dist/rustdocs | ||
- name: Deploy documentation | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
publish_branch: gh-pages | ||
publish_dir: ./docs/.vuepress/dist | ||
keep_files: true | ||
- name: Deploy documentation | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
publish_branch: gh-pages | ||
publish_dir: ./docs/.vuepress/dist | ||
keep_files: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.