Update main.yml

This commit is contained in:
Avinal Kumar
2020-10-29 16:57:06 +05:30
committed by GitHub
parent e261c07597
commit 56ecfefa92

View File

@@ -4,16 +4,12 @@ name: Generate and deploy docs
# Controls when the action will run. Triggers the workflow on push or pull request # Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch # events but only for the master branch
on: on: [push, pull_request]
push:
branches: all
pull_request:
branches: all
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
update-readme: update-docs:
name: Update the WakaTime Stat name: Update readme
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: avinal/github-pages-deploy-action@master - uses: avinal/github-pages-deploy-action@master
@@ -23,4 +19,4 @@ jobs:
MAKE_COMMAND: "make html" MAKE_COMMAND: "make html"
PAGES_BRANCH: "gh-pages" PAGES_BRANCH: "gh-pages"
BUILD_FROM: "develop" BUILD_FROM: "develop"
DOCS_FOLDER: "output" DOCS_FOLDER: "output"