File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 17
17
with :
18
18
version : 1.5
19
19
- run : julia -e '
20
- using Pkg; Pkg.add(["NodeJS", "Franklin", "BibTeX"] );
20
+ using Pkg; Pkg.activate("."); Pkg.instantiate( );
21
21
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
22
22
using Franklin;
23
- Pkg.activate("."); Pkg.instantiate();
24
23
optimize()'
25
24
- name : Build and Deploy
26
25
uses : JamesIves/github-pages-deploy-action@releases/v3
Original file line number Diff line number Diff line change
1
+ [deps ]
2
+ BibTeX = " 7b0aa2c9-049f-5cec-894a-2b6b781bb25e"
3
+ Franklin = " 713c75ef-9fc9-4b05-94a9-213340da978e"
4
+ NodeJS = " 2bd173c7-0d6d-553b-b6af-13a54713934c"
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ JuliaLab Website. Edit this to edit the website.
11
11
- "People" section: ` _assets/people.csv ` and ` _assets/people ` (pay attention to the name format)
12
12
13
13
### Notes about deploy
14
- - Changes applied to the master branch will be automatically deployed to the gh-pages branch.
15
- - If you add a new dependency, remember to add it also in ` .github/workflows/deploy.yml ` .
14
+ - You can serve the webpage locally by:
15
+ > ` $ julia --project=@. `
16
+ ``` julia
17
+ julia> using Pkg; Pkg. instantiate ()
16
18
19
+ julia> using Franklin; Franklin. serve ()
20
+ ```
21
+ - Changes applied to the ` master ` branch will be automatically deployed to the ` gh-pages ` branch.
22
+ - If you add a new dependency, remember to add it also in ` Project.toml ` .
You can’t perform that action at this time.
0 commit comments