Added Netlify Github Action and one readme change. (#25)

* Added Netlify Github Action and one readme change.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
This commit is contained in:
VEDANT SHROTRIA 2021-06-09 10:36:52 +05:30 committed by GitHub
parent 67885662e4
commit e3bc991fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 29 deletions

View File

@ -3,23 +3,20 @@ on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/dockerbuild.yml'
- '.github/workflows/Pull_Request.yml'
- 'website/**'
- "website/**"
jobs:
embedmdCheck_and_linksVerification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{steps.getcommit.outputs.sha}}
- uses: actions/setup-go@v2
with:
stable: 'false'
go-version: '1.14.0'
stable: "false"
go-version: "1.14.0"
- name: Links Verification
run: |
@ -70,6 +67,5 @@ jobs:
- uses: rojopolis/spellcheck-github-actions@0.11.0
name: Spellcheck
with:
source_files: 'website/docs/*.md'
source_files: "website/docs/*.md"
task_name: Markdown

View File

@ -5,9 +5,7 @@ on:
branches:
- master
paths:
- '.github/workflows/dockerbuild.yml'
- '.github/workflows/Pull_Request.yml'
- 'website/**'
- "website/**"
jobs:
cd:
@ -27,4 +25,23 @@ jobs:
docker build -t ${GITHUB_REPOSITORY}:${{ steps.vars.outputs.branch }}-${{ steps.vars.outputs.sha_short }} .
docker push ${GITHUB_REPOSITORY}:${{ steps.vars.outputs.branch }}-${{ steps.vars.outputs.sha_short }}
netlify-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
# Run npm install and build on our code
- run: |
cd website
npm install
npm run build
# Deploy to Netlify using our production secrets
- uses: netlify/actions/cli@master
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
args: deploy --dir=website/build --prod

View File

@ -693,6 +693,12 @@ ZTN
html
XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
Worklfow
LitmusPortal
abc
litmusctl
subcommand
Litmusctl
gz
zxvf
MacOS

View File

@ -24,11 +24,11 @@ Additional details on the Docusaurus project can be found [here](https://docusau
## For Developers
### Clone litmus-docs repository
### Clone litmus-docs-beta repository
```bash
git clone https://github.com/litmuschaos/litmus-docs.git
cd litmus-docs
git clone https://github.com/litmuschaos/litmus-docs-beta.git
cd litmus-docs-beta
```
The docs website server can be setup manually or through docker compose

View File

@ -13,7 +13,6 @@ As part of Litmus installation by default, a self cluster would be registered as
As you are aware by now, Portal is a Cross Cloud Chaos Control plane. That is you can connect multiple external kubernetes agents to this portal. Once connected you can manage the chaos from the Portal that is you can induce chaos into this agent from the Portal and observe the results from the Portal. Using the command line utility _litmusctl_ you can connect the external agents to the Portal.
# Litmusctl
Litmusctl is a command line interface to manage LitmusPortal services.