From 3f5853025b59521dad4ca5d42bc217b5e093eb36 Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 18 Aug 2021 14:08:02 -0700 Subject: [PATCH] Get nightly in build action --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3783254..ecda179 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,11 +6,11 @@ name: Build Site on: # Triggers the workflow on push or pull request events but only for the main branch push: - branches: [ main ] + branches: [main] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - + env: CARGO_TERM_COLOR: always @@ -26,11 +26,17 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - name: Install nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + # Runs a single command using the runners shell - name: Build site run: | cargo run --no-default-features --verbose - + - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: