Skip to content

Merge pull request #597 from Tjuvenile/ceastor-csi #107

Merge pull request #597 from Tjuvenile/ceastor-csi

Merge pull request #597 from Tjuvenile/ceastor-csi #107

Workflow file for this run

name: publish
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# The same command that users can use locally is used to build documentation.
- name: Build documentation
run: make
# Publish the result by overwriting the "gh-pages" branch with the new content.
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: docs
git-config-name: GitHub Actions
git-config-email: github-actions@kubernetes-csi
# This secret was created in the repo's settings under "Secrets".
# It contains an SSH private key created specifically for this job.
# The corresponding public key was added to the repo's deploy keys.
ssh-key: ${{ secrets.DEPLOY_KEY }}