Skip to content

Commit 4de2e89

Browse files
committed
Initial GitHub Pages setup
1 parent fcb51de commit 4de2e89

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- gh-pages-branch
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Build and deploy
16+
run: |
17+
# Your build and deploy script here
18+
mkdir -p public
19+
cp -r * public/
20+
git config --global user.name "Guy Moalem"
21+
git config --global user.email "guy.moa@gmail.com"
22+
git add .
23+
git commit -m "Deploy to GitHub Pages"
24+
git push origin gh-pages-branch:gh-pages
File renamed without changes.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="stylesheet" href="./src/styles/style.css" />
2222

2323
<!-- Favicon -->
24-
<link rel="icon" type="image/png" href="./public/icon.png" sizes="16x16" />
24+
<link rel="icon" type="image/png" href="./assets/icon.png" sizes="16x16" />
2525

2626
<title>Connections+</title>
2727
</head>

0 commit comments

Comments
 (0)