Skip to content

Commit de7c880

Browse files
committed
Add GitHub Actions workflow for Pages deployment
- Uses reusable workflow from toolkit repository - Automatically deploys on push to main branch - Updates toolkit submodule reference
1 parent 0c07e2f commit de7c880

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Deploy Singapore RBO Website to GitHub Pages
2+
# Uses reusable workflow from the toolkit repository
3+
4+
name: Deploy to GitHub Pages
5+
6+
on:
7+
push:
8+
branches: [main]
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: false
19+
20+
jobs:
21+
build:
22+
uses: digitaltwinconsortium/rbo_website_toolkit/.github/workflows/build-site.yml@main
23+
24+
deploy:
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
runs-on: ubuntu-latest
29+
needs: build
30+
steps:
31+
- name: Deploy to GitHub Pages
32+
id: deployment
33+
uses: actions/deploy-pages@v4
34+

toolkit

0 commit comments

Comments
 (0)