Skip to content

Commit 2132685

Browse files
committed
Added deploy step in workflow.
1 parent 77c3fad commit 2132685

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@ jobs:
1414
uses: actions/setup-node@v1
1515
with:
1616
node-version: '18.x'
17+
1718
- name: Install dependencies
1819
run: yarn install
20+
1921
- name: Build the website
2022
run: yarn build
23+
2124
- name: Deploy to GitHub Pages
2225
uses: peaceiris/actions-gh-pages@v3
2326
with:
2427
github_token: ${{ secrets.GITHUB_TOKEN }}
2528
publish_dir: ./build
29+
cname: gopalsaini.co.in
30+
commit_message: "Deploy to my custom domain: ${{ github.sha }}"

0 commit comments

Comments
 (0)