Skip to content

Merge pull request #1859 from marquiz/devel/golangci-lint #1215

Merge pull request #1859 from marquiz/devel/golangci-lint

Merge pull request #1859 from marquiz/devel/golangci-lint #1215

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
- release-*
tags:
- v[0-9]+.[0-9]+.[0-9]+
concurrency:
group: gh-pages
jobs:
update-docs:
name: Update gh-pages documentation
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get install -y jq curl
curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.5.2
- name: Check out repo
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Fetch gh-pages branch
run: git fetch --no-tags --prune --depth=1 origin refs/heads/gh-pages:refs/heads/gh-pages
- name: Build site
run: |
git config user.name "Github Actions"
git config user.email "no-reply@github.com"
./scripts/github/update-gh-pages.sh
- name: Deploy site
run: git push -f https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} gh-pages