Skip to content

Commit a48bcfa

Browse files
committed
fix: update workflows to use master branch and add status badges to README
1 parent b5c16e6 commit a48bcfa

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI/CD
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ master, develop ]
66
pull_request:
7-
branches: [ main, develop ]
7+
branches: [ master, develop ]
88
release:
99
types: [ published ]
1010

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Deploy Documentation
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ master ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ master ]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -46,18 +46,18 @@ jobs:
4646
run: uv run mkdocs build --clean --strict
4747

4848
- name: Setup Pages
49-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
49+
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
5050
uses: actions/configure-pages@v4
5151

5252
- name: Upload artifact
53-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
53+
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
5454
uses: actions/upload-pages-artifact@v3
5555
with:
5656
path: ./site
5757

58-
# Deploy to GitHub Pages (only on main branch)
58+
# Deploy to GitHub Pages (only on master branch)
5959
deploy:
60-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
60+
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
6161
environment:
6262
name: github-pages
6363
url: ${{ steps.deployment.outputs.page_url }}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# taskfile_help
22

3+
[![CI/CD](https://github.com/royw/taskfile_help/actions/workflows/ci.yml/badge.svg)](https://github.com/royw/taskfile_help/actions/workflows/ci.yml)
4+
[![Documentation](https://github.com/royw/taskfile_help/actions/workflows/docs.yml/badge.svg)](https://github.com/royw/taskfile_help/actions/workflows/docs.yml)
5+
[![Python Version](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/downloads/)
6+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7+
[![PyPI version](https://badge.fury.io/py/taskfile-help.svg)](https://badge.fury.io/py/taskfile-help)
8+
39
Dynamic Taskfile help generator.
410

511
Parses Taskfile YAML files and outputs organized, colored help text similar to

0 commit comments

Comments
 (0)