This repository was archived by the owner on Feb 27, 2024. It is now read-only.
File tree 6 files changed +26
-14
lines changed
6 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 13
13
- name : Installing Nix
14
14
uses : cachix/install-nix-action@v8
15
15
- name : Building planet.nixos.org
16
- run : nix-shell -p venus --command "venus-planet planet.ini"
16
+ run : nix-shell --run "venus-planet planet.ini && fix.sh "
17
17
- name : Deploy to Netlify
18
18
uses : nwtgck/actions-netlify@v1.0.5
19
19
env :
Original file line number Diff line number Diff line change 15
15
- name : Installing Nix
16
16
uses : cachix/install-nix-action@v8
17
17
- name : Building planet.nixos.org
18
- run : nix-shell -p venus --command "venus-planet planet.ini"
18
+ run : nix-shell --run "venus-planet planet.ini && fix.sh "
19
19
- name : Deploy to Netlify
20
20
uses : nwtgck/actions-netlify@v1.0.5
21
21
env :
Original file line number Diff line number Diff line change @@ -22,3 +22,18 @@ link = https://example.com
22
22
23
23
- send pull request
24
24
25
+ ## Developing
26
+
27
+ - In one terminal window run:
28
+
29
+ ```
30
+ $ nix-shell --run "git ls-files | entr -s 'venus-planet planet.ini'"`
31
+ ```
32
+
33
+ Have some patience initial so that cache of blogs builds up.
34
+
35
+ - In the other terminal window run:
36
+
37
+ ```
38
+ $ nix-shell --run "cd dist && python -m http.server"
39
+ ```
Original file line number Diff line number Diff line change
1
+ { pkgs ? import <nixpkgs> { }
2
+ } :
3
+
4
+ pkgs . mkShell {
5
+ buildInputs = with pkgs ; [ venus entr python3 ] ;
6
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ sed -i -e ' s|"http://|"https://|g' dist/index.html
Original file line number Diff line number Diff line change @@ -108,18 +108,6 @@ Powered by:<br>
108
108
<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
109
109
</p>
110
110
111
- <p>
112
- <h2>Planetarium:</h2>
113
- <ul>
114
- <li><a href="http://www.planetapache.org/">Planet Apache</a></li>
115
- <li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
116
- <li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
117
- <li><a href="http://planet.debian.net/">Planet Debian</a></li>
118
- <li><a href="http://planet.fedoraproject.org/">Planet Fedora</a></li>
119
- <li><a href="http://planets.sun.com/">Planet Sun</a></li>
120
- <li><a href="http://www.planetplanet.org/">more...</a></li>
121
- </ul>
122
- </p>
123
111
</div>
124
112
</body>
125
113
You can’t perform that action at this time.
0 commit comments