Skip to content

Commit b16c10e

Browse files
committed
Update and rename do-a-thing to do-a-thing.yml
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
1 parent 232e29d commit b16c10e

File tree

2 files changed

+31
-16
lines changed

2 files changed

+31
-16
lines changed

.github/workflows/do-a-thing

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/do-a-thing.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: do a thing
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
do-a-thing:
10+
name: do a thing
11+
runs-on: ubuntu-latest
12+
steps:
13+
-
14+
name: Get docs repository
15+
run: |
16+
git clone https://github.com/pi-hole/docs.git docs-repo
17+
touch docs-repo/docs/ftldns/configfile2.md
18+
echo "no" > docs-repo/docs/ftldns/configfile2.md
19+
cd docs-repo && git diff
20+
-
21+
name: Create Pull Request to pi-hole/docs
22+
uses: peter-evans/create-pull-request@v6
23+
with:
24+
commit-message: "docs: update pihole.toml documentation"
25+
title: "Update pihole.toml documentation"
26+
body: "Automated update of pihole.toml documentation from FTL build."
27+
branch: update-pihole-toml-docs
28+
base: master
29+
path: docs-repo
30+
add-paths: |
31+
docs/ftldns/configfile2.md

0 commit comments

Comments
 (0)