From edd9389eab3555ac26e46730be9d6f53979905ea Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Thu, 29 Oct 2020 18:59:21 +0530 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 012af90..29fe9d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,20 +12,16 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on + update-readme: + name: Update the WakaTime Stat runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: set up permissions - run: chmod +x pages-publish.sh - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: ./pages-publish.sh + - uses: avinal/github-pages-deploy-action@master + with: + GITHUB_TOKEN: ${{ github.token }} + LANGUAGE: "python" + MAKE_COMMAND: "make theme && make html" + PAGES_BRANCH: "gh-pages" + BUILD_FROM: "main" + DOCS_FOLDER: "output" +