mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
28 lines
793 B
YAML
28 lines
793 B
YAML
# This is a basic workflow to help you get started with Actions
|
|
|
|
name: Publish Blog
|
|
|
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
|
# events but only for the main branch
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
# 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
|
|
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 theme && make html"
|
|
PAGES_BRANCH: "gh-pages"
|
|
BUILD_FROM: "main"
|
|
DOCS_FOLDER: "output"
|
|
|