Skip to content

Commit

Permalink
fix links and action
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Dec 11, 2020
1 parent 99b9c0a commit 7374d8b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

defaults:
run:
working-directory: ./docs-md
env:
CI: true

steps:
- uses: actions/checkout@v2
Expand All @@ -27,12 +26,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run check-links
- run: |
- name: Build site
run: npm run build
- name: Check links
run: npm run check-links
- name: Push changes
run: |
username="GitHub Actions"
git config user.email "opensource@fairwinds.com"
git config user.name $username
npm run build
HAS_CHANGE=$(git diff .)
if [ -n "${HAS_CHANGE}" ]; then
if [ "$(git log -1 --pretty=format:'%an')" == $username ]; then
Expand All @@ -43,5 +45,3 @@ jobs:
git commit -m "[CI] rebuild website"
git push
fi
env:
CI: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ is a platform for auditing Kubernetes clusters and enforcing policy. If you'd li
you can sign up for a [free account here](https://insights.fairwinds.com?source=polaris).

## Contributing
PRs welcome! Check out the [Contributing Guidelines](https://polaris.docs.fairwinds.com/contributing/) and [Code of Conduct](https://polaris.docs.fairwinds.com/code-of-conduct) for more information.
PRs welcome! Check out the [Contributing Guidelines](https://polaris.docs.fairwinds.com/contributing) and [Code of Conduct](https://polaris.docs.fairwinds.com/code-of-conduct) for more information.

## Further Information
A history of changes to this project can be viewed in the [Changelog](https://polaris.docs.fairwinds.com/changelog/)
A history of changes to this project can be viewed in the [Changelog](https://polaris.docs.fairwinds.com/changelog)

If you'd like to learn more about Polaris, or if you'd like to speak with
a Kubernetes expert, you can contact `info@fairwinds.com` or [visit our website](https://fairwinds.com)
Expand Down
4 changes: 2 additions & 2 deletions docs-md/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ is a platform for auditing Kubernetes clusters and enforcing policy. If you'd li
you can sign up for a [free account here](https://insights.fairwinds.com?source=polaris).

## Contributing
PRs welcome! Check out the [Contributing Guidelines](/contributing/) and [Code of Conduct](/code-of-conduct) for more information.
PRs welcome! Check out the [Contributing Guidelines](/contributing) and [Code of Conduct](/code-of-conduct) for more information.

## Further Information
A history of changes to this project can be viewed in the [Changelog](/changelog/)
A history of changes to this project can be viewed in the [Changelog](/changelog)

If you'd like to learn more about Polaris, or if you'd like to speak with
a Kubernetes expert, you can contact `info@fairwinds.com` or [visit our website](https://fairwinds.com)
Expand Down

0 comments on commit 7374d8b

Please sign in to comment.