Remove linkes to disablet home page from README.md #130
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
name: Main | |
on: [push, pull_request] | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
build_test_deploy: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v1 | |
- name: Install nightly Rust and rustfmt | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: rustfmt | |
- name: Install stable Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Install cargo-make | |
uses: davidB/rust-cargo-make@v1 | |
- name: Install Node dependencies | |
run: yarn | |
- name: Build & prerender | |
run: yarn build:prerender | |
- name: Run tests | |
run: cargo make verify_only | |
- name: Install Netlify CLI | |
if: github.ref == 'refs/heads/master' | |
run: sudo npm install --unsafe-perm=true netlify-cli -g | |
- name: Deploy | |
if: github.ref == 'refs/heads/master' | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_ACCESS_TOKEN: ${{ secrets.NETLIFY_ACCESS_TOKEN }} | |
run: sudo netlify deploy -s $NETLIFY_SITE_ID --auth $NETLIFY_ACCESS_TOKEN -p --dir ./dist | |