1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

Update publish.yml

This commit is contained in:
Avinal Kumar
2020-10-29 19:38:58 +05:30
committed by GitHub
parent 51ba965df0
commit f0005e067f
+15 -11
View File
@@ -12,16 +12,20 @@ on:
# 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
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: avinal/github-pages-deploy-action@main
with:
GITHUB_TOKEN: ${{ github.token }}
LANGUAGE: "python3 python3-setuptools python3-wheel"
MAKE_COMMAND: "make html"
PAGES_BRANCH: "gh-pages"
BUILD_FROM: "main"
DOCS_FOLDER: "output"
# 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