Skip to content

Commit 617ea9f

Browse files
ci: Create workflow
1 parent eca0907 commit 617ea9f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/configure-site.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Site - Production
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build do app
11+
runs-on: ubuntu-22.04
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Pages
16+
id: pages
17+
uses: actions/configure-pages@v3
18+
19+
- name: Build with Jekyll
20+
uses: actions/jekyll-build-pages@v1
21+
with:
22+
source: ./dist
23+
destination: ./_site
24+
25+
- name: Upload artifact
26+
uses: actions/upload-pages-artifact@v2
27+
28+
# Deployment job
29+
deploy:
30+
environment:
31+
name: github-pages
32+
url: ${{steps.deployment.outputs.page_url}}
33+
runs-on: ubuntu-latest
34+
needs: build
35+
steps:
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)