2961: Pin the zola version used to deploy the site r=epage a=pksunkara



2965: fix(error): Never show unrequested color r=pksunkara a=epage



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Co-authored-by: Ed Page <eopage@gmail.com>
This commit is contained in:
bors[bot] 2021-10-29 23:00:12 +00:00 committed by GitHub
commit 2ce916133b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,9 @@ name: Site
on:
push:
branches: [master]
paths: ["site/**"]
paths:
- site/**
- .github/workflows/site.yml
concurrency:
group: site
cancel-in-progress: true
@ -14,13 +16,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: shalzz/zola-deploy-action@master
uses: shalzz/zola-deploy-action@v0.14.1
env:
BUILD_DIR: site
BUILD_ONLY: true
- name: Deploy
if: ${{ success() }}
uses: JamesIves/github-pages-deploy-action@4.1.0
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: site/public

View file

@ -870,7 +870,7 @@ impl Error {
val: String,
err: Box<dyn error::Error + Send + Sync>,
) -> Self {
Self::value_validation_with_color(arg, val, err, ColorChoice::Auto)
Self::value_validation_with_color(arg, val, err, ColorChoice::Never)
}
fn value_validation_with_color(
@ -996,7 +996,7 @@ impl Error {
}
pub(crate) fn argument_not_found_auto(arg: String) -> Self {
let mut c = Colorizer::new(true, ColorChoice::Auto);
let mut c = Colorizer::new(true, ColorChoice::Never);
start_error(&mut c, "The argument '");
c.warning(arg.clone());