Drop unnecessary steps
This commit is contained in:
parent
c071a28d57
commit
3015dd322f
27
.github/workflows/auto-version-docs.yml
vendored
27
.github/workflows/auto-version-docs.yml
vendored
@ -29,17 +29,6 @@ jobs:
|
||||
mv ./src/cmd/mdgen/cli_markdown/* ./website/docs/cli/
|
||||
rm -R ./src/cmd/mdgen/cli_markdown/
|
||||
|
||||
- name: Install dependencies for website lint
|
||||
run: |
|
||||
wget https://github.com/errata-ai/vale/releases/download/v2.20.2/vale_2.20.2_Linux_64-bit.tar.gz # NOTE: update in Dockerfile when updating
|
||||
mkdir bin && tar -xvzf vale_2.20.2_Linux_64-bit.tar.gz -C bin
|
||||
echo "$PWD/bin" >> $GITHUB_PATH
|
||||
npm i -g markdownlint-cli@0.32.2 # NOTE: update in Dockerfile when updating
|
||||
|
||||
- name: Run website lint
|
||||
run: |
|
||||
cd website && make -o genclidocs localcheck
|
||||
|
||||
- name: Create new version of docs
|
||||
run: |
|
||||
set -xe
|
||||
@ -55,18 +44,4 @@ jobs:
|
||||
commit-message: Add new version to versioned docs
|
||||
title: Add new version to versioned docs
|
||||
body: Creates a new versioned set of docs for the latest release to `versioned_docs`.
|
||||
branch: versioned-docs-update
|
||||
|
||||
- name: Build website
|
||||
env:
|
||||
CORSO_VERSION: ${{ needs.SetEnv.outputs.version }}
|
||||
run: |
|
||||
cd website &&
|
||||
npm ci &&
|
||||
npm run build
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
name: Upload website as artifacts
|
||||
with:
|
||||
name: website
|
||||
path: website/build
|
||||
branch: versioned-docs-update
|
||||
Loading…
x
Reference in New Issue
Block a user