Skip to content

Commit fb00d5a

Browse files
Static website build and deploy init
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 11f02e7 commit fb00d5a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
12+
13+
## TODO: Add site build and export steps here, target public/ for export directory
14+
15+
- name: Copy CNAME
16+
run: cp CNAME public
17+
18+
- name: Deploy
19+
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
20+
with:
21+
branch: github-pages
22+
folder: public
23+
repository-name: devfile/gui-wizard
24+
clean: true

0 commit comments

Comments
 (0)