mirror of
https://github.com/yewprint/yewprint
synced 2024-11-22 03:23:03 +00:00
Fix Netflify deploy (#142)
This commit is contained in:
parent
28ea706be4
commit
a6725990de
2 changed files with 2 additions and 3 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue