File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,10 @@ on: [push, pull_request]
44
55jobs :
66 build :
7-
8- strategy :
9- matrix :
10- os : [ubuntu-latest]
11- dotnet : [3.0.100]
12- runs-on : ${{ matrix.os }}
13-
7+ permissions :
8+ id-token : write # Needed for GitHub Pages deployment
9+ pages : write
10+ runs-on : ubuntu-latest
1411 steps :
1512 - uses : actions/checkout@v1
1613 - name : Docker build
@@ -19,10 +16,20 @@ jobs:
1916 docker create -ti --name dummy ancestors-map bash
2017 docker cp dummy:/build/src/Client/deploy .
2118 docker rm -f dummy
22- - name : Deploy
23- if : success()
24- uses : peaceiris/actions-gh-pages@v2.5.0
25- env :
26- ACTIONS_DEPLOY_KEY : ${{ secrets.ACTIONS_DEPLOY_KEY }}
27- PUBLISH_BRANCH : gh-pages
28- PUBLISH_DIR : deploy
19+ # - name: Deploy
20+ # if: success()
21+ # uses: peaceiris/actions-gh-pages@v2.5.0
22+ # env:
23+ # ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
24+ # PUBLISH_BRANCH: gh-pages
25+ # PUBLISH_DIR: deploy
26+ - name : Setup Pages
27+ uses : actions/configure-pages@v5
28+ - name : Upload artifact
29+ uses : actions/upload-pages-artifact@v3
30+ with :
31+ # Upload entire repository
32+ path : ' deploy'
33+ - name : Deploy to GitHub Pages
34+ id : deployment
35+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1818.ionide /
1919
2020.fake
21- .ionide
21+ .ionide
22+ .flox
23+ .yarn
Original file line number Diff line number Diff line change 1- FROM nojaf/fable
1+ FROM docker.io/ nojaf/fable:2.7
22WORKDIR /build
3- COPY . ./
3+ COPY .config .
44RUN dotnet tool restore
5- RUN dotnet fake build -t Build
5+ COPY paket.* .
6+ RUN dotnet paket restore
7+ COPY yarn.lock .
8+ RUN yarn install --frozen-lockfile
9+ COPY . .
10+ RUN dotnet fake build -t Build
11+ ENTRYPOINT dotnet fake build -t Run
Original file line number Diff line number Diff line change 11# AncestorsMap
22
33[ https://jindraivanek.github.io/AncestorsMap ] ( https://jindraivanek.github.io/AncestorsMap )
4- :)
4+
5+
6+ ## Build
7+ ` podman build -t ancestors-map . `
8+
9+ ## Run
10+ ` podman run -p 8080:8080 -it ancestors-map ` and visit [ http://localhost:8080 ] ( http://localhost:8080 )
Original file line number Diff line number Diff line change @@ -222,7 +222,9 @@ let safeComponents =
222222
223223 p [ ]
224224 [ strong [] [ str " AncestorsMap" ]
225- str " project by Jindřich Ivánek, GNU General Public License v3.0. "
225+ str " project by "
226+ a [ Href " https://jindraivanek.hashnode.dev" ] [ str " Jindřich Ivánek" ]
227+ str " , GNU General Public License v3.0. "
226228 components ]
227229
228230let button txt onClick =
You can’t perform that action at this time.
0 commit comments