From 56ecfefa92edbe3d894fae4965d34d5b9188a473 Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Thu, 29 Oct 2020 16:57:06 +0530 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 785ad6d..a3c0b17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,16 +4,12 @@ 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 +on: [push, pull_request] # 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 + update-docs: + name: Update readme runs-on: ubuntu-latest steps: - uses: avinal/github-pages-deploy-action@master @@ -23,4 +19,4 @@ jobs: MAKE_COMMAND: "make html" PAGES_BRANCH: "gh-pages" BUILD_FROM: "develop" - DOCS_FOLDER: "output" \ No newline at end of file + DOCS_FOLDER: "output" From 79cb74297fc660c525f6b8365c3acb73624260f5 Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Thu, 29 Oct 2020 16:59:17 +0530 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c0b17..2413937 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: name: Update readme runs-on: ubuntu-latest steps: - - uses: avinal/github-pages-deploy-action@master + - uses: avinal/github-pages-deploy-action@main with: GITHUB_TOKEN: ${{ github.token }} LANGUAGE: "java"