git-secret/.github/workflows/github-pages.yml
Nikita Sobolev ed5f9cd4d7
Update JamesIves/github-pages-deploy-action
This should also fix gh-pages deploy
2021-04-14 12:31:19 +03:00

25 lines
595 B
YAML

name: Deploy Documentation to Github Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
persist-credentials: false
- name: Deploy to Pages
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch