Skip to content

Commit e4bd844

Browse files
authored
Correct Branch Name
1 parent bbb2e2b commit e4bd844

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ads.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Update ad-free branch
1+
name: Update Ad-Free branch
22

33
on:
44
push:
55
branches:
66
- main
77

88
jobs:
9-
update-ad-free:
9+
update-Ad-Free:
1010
runs-on: ubuntu-latest
1111

1212
steps:
@@ -15,14 +15,14 @@ jobs:
1515
with:
1616
ref: main
1717

18-
- name: Create or update ad-free branch
18+
- name: Create or update Ad-Free branch
1919
run: |
2020
git fetch origin
21-
if git branch --list | grep -q 'ad-free'; then
22-
git checkout ad-free
21+
if git branch --list | grep -q 'Ad-Free'; then
22+
git checkout Ad-Free
2323
git merge main --no-edit
2424
else
25-
git checkout -b ad-free
25+
git checkout -b Ad-Free
2626
fi
2727
2828
- name: Remove ads from HTML files
@@ -42,6 +42,6 @@ jobs:
4242
git add static/404.html static/apps.html static/games.html static/index.html static/privacy.html static/settings.html static/tools.html static/tos.html
4343
git commit -m "Remove ads from HTML files"
4444
45-
- name: Push changes to ad-free branch
45+
- name: Push changes to Ad-Free branch
4646
run: |
47-
git push origin ad-free
47+
git push origin Ad-Free

0 commit comments

Comments
 (0)