Skip to content

Commit 6e12918

Browse files
committed
Update branch names
1 parent 04686ee commit 6e12918

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI
22
on:
33
pull_request:
4-
branches: [build]
4+
branches: [main]
55
jobs:
66
build:
77
runs-on: ubuntu-latest

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy
22
on:
33
push:
44
branches:
5-
- build
5+
- main
66
jobs:
77
deploy:
88
runs-on: ubuntu-latest
@@ -20,5 +20,5 @@ jobs:
2020
uses: peaceiris/actions-gh-pages@v3
2121
with:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
23-
publish_branch: master
23+
publish_branch: gh-pages
2424
publish_dir: ./dist

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This site is built with Eleventy and Tailwind.
44

5-
PRs should be made against the `build` branch. Upon merging, a GitHub Action will build and deploy the site to the `master` branch.
5+
PRs should be made against the `main` branch. Upon merging, a GitHub Action will build and deploy the site to the `gh-pages` branch.
66

77
## Prerequisites
88

@@ -16,7 +16,7 @@ Run `npm run start` and access the dev server at the address it reports.
1616

1717
Run `npm build`, and a built version will be written to `/dist`. You can run the built site in a web server, for example, `npx serve dist`.
1818

19-
Building for production minifies HTML, CSS, and JavaScript files as well as adds a cachebusting parameter to those resources.
19+
Building for production minifies HTML, CSS, and JavaScript files as well as adds a cache-busting parameter to those resources.
2020

2121
## Events
2222

0 commit comments

Comments
 (0)