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:
@@ -12,20 +12,16 @@ on:
|
|||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
update-readme:
|
||||||
build:
|
name: Update the WakaTime Stat
|
||||||
# The type of runner that the job will run on
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
- uses: avinal/github-pages-deploy-action@master
|
||||||
- uses: actions/checkout@v2
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
# Runs a single command using the runners shell
|
LANGUAGE: "python"
|
||||||
- name: set up permissions
|
MAKE_COMMAND: "make theme && make html"
|
||||||
run: chmod +x pages-publish.sh
|
PAGES_BRANCH: "gh-pages"
|
||||||
|
BUILD_FROM: "main"
|
||||||
# Runs a set of commands using the runners shell
|
DOCS_FOLDER: "output"
|
||||||
- name: Run a multi-line script
|
|
||||||
run: ./pages-publish.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user