diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 785ad6d..2413937 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,23 +4,19 @@ 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 + - uses: avinal/github-pages-deploy-action@main with: GITHUB_TOKEN: ${{ github.token }} LANGUAGE: "java" MAKE_COMMAND: "make html" PAGES_BRANCH: "gh-pages" BUILD_FROM: "develop" - DOCS_FOLDER: "output" \ No newline at end of file + DOCS_FOLDER: "output"