Skip to content

Commit 6d52cc1

Browse files
committed
Index page
1 parent 31aa214 commit 6d52cc1

3 files changed

Lines changed: 20 additions & 6 deletions

File tree

.github/workflows/staged-release.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414

1515
permissions:
1616
contents: read
17+
pages: write
18+
id-token: write
1719

1820
jobs:
1921
validate:
@@ -43,6 +45,7 @@ jobs:
4345
name: site-bundle
4446
path: |
4547
*.html
48+
CNAME
4649
assets/**
4750
bible-data/**
4851
manifest.webmanifest
@@ -109,6 +112,9 @@ jobs:
109112
- name: Checkout
110113
uses: actions/checkout@v4
111114

115+
- name: Configure GitHub Pages
116+
uses: actions/configure-pages@v5
117+
112118
- name: Download site artifact
113119
uses: actions/download-artifact@v4
114120
with:
@@ -120,9 +126,8 @@ jobs:
120126
with:
121127
python-version: "3.12"
122128

123-
- name: Deploy to prod
129+
- name: Build prod release bundle from allowlist
124130
env:
125-
DEPLOY_WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }}
126131
DEPLOY_REGION: ${{ vars.DEPLOY_REGION }}
127132
BASE_URL: ${{ vars.BASE_URL }}
128133
run: |
@@ -131,8 +136,15 @@ jobs:
131136
--region "${DEPLOY_REGION}" \
132137
--artifact-path dist \
133138
--manifest-path deploy/pages-manifest.json \
134-
--base-url "${BASE_URL}" \
135-
--webhook-url "${DEPLOY_WEBHOOK_URL}"
139+
--base-url "${BASE_URL}"
140+
141+
- name: Upload GitHub Pages artifact
142+
uses: actions/upload-pages-artifact@v3
143+
with:
144+
path: dist-prod-release
145+
146+
- name: Deploy to GitHub Pages
147+
uses: actions/deploy-pages@v4
136148

137149
smoke_prod:
138150
runs-on: ubuntu-latest

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ziongospelministry.org

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<meta property="og:title" content="Zion Gospel Ministry">
1010
<meta property="og:description" content="A welcoming, biblically grounded church family helping people grow in Christ.">
1111
<meta property="og:type" content="website">
12-
<meta property="og:url" content="https://www.ziongospelministry.org/">
12+
<meta property="og:url" content="https://ziongospelministry.org/">
13+
<link rel="canonical" href="https://ziongospelministry.org/">
1314
<link rel="preconnect" href="https://fonts.googleapis.com">
1415
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1516
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap" rel="stylesheet">
@@ -21,7 +22,7 @@
2122
"@context": "https://schema.org",
2223
"@type": "Church",
2324
"name": "Zion Gospel Ministry",
24-
"url": "https://www.ziongospelministry.org/",
25+
"url": "https://ziongospelministry.org/",
2526
"sameAs": ["https://github.com/jvinodraj/ziongospelministry.org"],
2627
"address": {
2728
"@type": "PostalAddress",

0 commit comments

Comments
 (0)