File tree Expand file tree Collapse file tree 14 files changed +138
-0
lines changed
Expand file tree Collapse file tree 14 files changed +138
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build demo website
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : checkout
13+ uses : actions/checkout@v3
14+ - uses : actions/setup-go@v4
15+ with :
16+ go-version : ' 1.21.0'
17+ - name : Setup Hugo
18+ uses : peaceiris/actions-hugo@v2
19+ with :
20+ hugo-version : ' 0.120.0'
21+ extended : true
22+ - name : Build demo website
23+ run : hugo --minify
Original file line number Diff line number Diff line change 1+ name : Build and deploy demo website
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build-deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : checkout
13+ uses : actions/checkout@v3
14+ - uses : actions/setup-go@v4
15+ with :
16+ go-version : ' 1.21.0'
17+ - name : Setup Hugo
18+ uses : peaceiris/actions-hugo@v2
19+ with :
20+ hugo-version : ' 0.120.0'
21+ extended : true
22+ - name : Build demo website
23+ run : hugo --minify
24+ - name : Deploy
25+ uses : peaceiris/actions-gh-pages@v3
26+ with :
27+ github_token : ${{ secrets.GITHUB_TOKEN }}
28+ publish_branch : gh-pages
29+ publish_dir : public
Original file line number Diff line number Diff line change 1+ public /
2+ .hugo_build.lock
3+ .vscode /
Original file line number Diff line number Diff line change 1+ apps.insileco.io
Original file line number Diff line number Diff line change 1+ *
2+ {
3+ margin : 0px ;
4+ padding : 0px ;
5+ }
6+
7+ iframe {
8+ position : fixed;
9+ background : # 000 ;
10+ border : none;
11+ top : 0 ;
12+ right : 0 ;
13+ bottom : 0 ;
14+ left : 0 ;
15+ width : 100% ;
16+ height : 100% ;
17+ }
Original file line number Diff line number Diff line change 1+ ---
2+ title : " metanetwork"
3+ link : " https://019539bb-7ba6-361d-122f-fde3a9051ef1.share.connect.posit.cloud"
4+ # category: "Shiny App"
5+ # tags: ["Vizualization", "Network"]
6+ ---
Original file line number Diff line number Diff line change 1+ ---
2+ title : " Watershed prioritization in Canada"
3+ link : " https://insilecobot-watershed-prioritization.share.connect.posit.cloud/"
4+ ---
Original file line number Diff line number Diff line change 1+ baseURL = ' https://apps.insileco.io'
2+ languageCode = ' en-us'
3+ title = ' inSileco Apps'
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="{{ .Site.LanguageCode }} ">
3+ {{ partial "head.html" . }}
4+
5+ < body >
6+ {{ partial "header.html" . }}
7+
8+ < div class ="page ">
9+
10+ {{ block "main" . }}
11+ {{ .Content }}
12+ {{ end }}
13+
14+ {{ partial "footer.html" . }}
15+
16+ </ div >
17+
18+ </ body >
19+
20+ </ html >
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+
3+ {{ with .Params.link }}
4+ < iframe src ="{{ . }} " frameborder ="0 " > </ iframe >
5+ {{ end }}
6+
7+ {{ end }}
You can’t perform that action at this time.
0 commit comments