Skip to content

Commit bb1875e

Browse files
committed
Added test workflow
1 parent a46ab65 commit bb1875e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build and Deploy FAST Documentation
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- name: Build docs
10+
run: |
11+
mkdir build
12+
cd build
13+
mkdir documentation
14+
cd documentation
15+
echo "<h1>Under construction</h1>" > index.html
16+
echo "<h1>Test</h1>" > test.html
17+
- name: Setup Pages
18+
id: pages
19+
uses: actions/configure-pages@v5
20+
- name: Upload static files as artifact
21+
id: deployment
22+
uses: actions/upload-pages-artifact@v3
23+
with:
24+
path: build/documentation/
25+
retention-days: 1
26+
deploy:
27+
runs-on: ubuntu-24.04
28+
needs: build
29+
environment:
30+
name: github-pages
31+
url: ${{ steps.deployment.outputs.page_url }}
32+
steps:
33+
- name: Deploy to GitHub Pages
34+
id: deployment
35+
uses: actions/deploy-pages@v4
36+

0 commit comments

Comments
 (0)