Fix Netflify deploy (#142)

This commit is contained in:
Yohan Boogaert 2022-06-27 15:25:23 +02:00 committed by GitHub
parent 28ea706be4
commit a6725990de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,6 @@ jobs:
site: site:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: cargo doc --verbose --workspace --all-features --no-deps - run: cargo doc --verbose --workspace --all-features --no-deps

View file

@ -3,8 +3,8 @@ publish = "target/release/dist"
# All deploys from the Production branch # All deploys from the Production branch
[context.production] [context.production]
command = "cargo xtask dist && cargo doc --workspace --all-features --no-deps && mv target/doc target/release/dist/api" command = "cargo xtask dist --release && cargo doc --workspace --all-features --no-deps && mv target/doc target/release/dist/api"
# all deploys generated from a pull/merge request # all deploys generated from a pull/merge request
[context.deploy-preview] [context.deploy-preview]
command = "cargo xtask dist" command = "cargo xtask dist --release"