From 66fe80d580e03b2f590b75a7139a82b1fec179fe Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Thu, 29 Oct 2020 16:49:08 +0530 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..98255e1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +# This is a basic workflow to help you get started with Actions + +name: Generate and deploy docs + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + 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 +jobs: + update-readme: + name: Update the WakaTime Stat + runs-on: ubuntu-latest + steps: + - uses: avinal/github-pages-deploy-action@master + with: + GITHUB_TOKEN: ${{ github.token }} + LANGUAGE: "java" + MAKE_COMMAND: "make html" + PAGES_BRANCH: "gh-pages" + BUILD_FROM: "develop" + DOCS_FOLDER: "output"