Commit graph

146 commits

Author SHA1 Message Date
84bdc58130 Make figures align in the center 2020-10-10 18:05:08 -07:00
e473acb3c9 Use an SSH username and private key combination 2020-10-10 01:37:03 -07:00
5a6f49d286 Delete gitlab-ci
Everything works on Jenkins now, no need to also build on Gitlab.
2020-10-10 01:15:06 -07:00
4a92c675ef Fix upload location
When using rrsync the directory it restricts you to becomes the base directory
you see.
2020-10-10 01:11:11 -07:00
0c0c1602e4 Escape backslashes
I’m not sure how/when to escape these in declarative pipelines
2020-10-10 01:05:47 -07:00
2a2bd05f8c Add known hosts to the rsync command 2020-10-10 01:02:05 -07:00
cb771cd950 Fix credentials used 2020-10-10 00:08:14 -07:00
258d99a4cb Try using chown to fix file permissions 2020-10-09 23:57:49 -07:00
34dc13695e Don’t preserve stashes between runs, don’t use global agent 2020-10-09 23:57:28 -07:00
f0a6ee309a Use any agent
Perhaps it needs to run everything on an agent for stash/unstash to work?
2020-10-09 23:33:39 -07:00
9095479324 Preserve stashes of the latest build
This is to help me inspect them to figure out why I can’t unstash them in the
other job.
2020-10-09 23:27:53 -07:00
d5e49d2a5c Run the Deploy step as root
Running as the default user Jenkins uses it doesn’t seem to have access to
wherever the artifacts from the previous steps get stored, so it fails to
extract them. Hopefully running as root will let it access them.
2020-10-09 23:18:50 -07:00
ede65b4db2 (Try to) Recursively include all files in public/ 2020-10-09 23:15:14 -07:00
1357f94e7e Don’t use any agent at all
The syntax for agent any was wrong and the default doesn’t really need an agent.
2020-10-09 23:12:05 -07:00
b052934ced Define top-level agent
Since all the stages define different agents, the top-level can use any agent.
2020-10-09 23:10:50 -07:00
f58fe670d9 Run stages using different container images
The Build/HTML stage needs the Emacs image because it uses Emacs to convert the
org files into html files. The Build/CSS stage runs in an image defined by the
Dockerfile in this repository, installing just make, npm, and lessc to convert
the less files into CSS files. And the Deploy step needs to upload using rsync
overs ssh.
2020-10-09 23:07:55 -07:00
d9e8ecd246 Install Cask dependencies before make 2020-10-09 22:38:41 -07:00
cd7aae642a Try running the Emacs container as root 2020-10-09 22:36:51 -07:00
1fae33754e Update the Jenkinsfile to use steps
The previous commit tried to change the Jenkinsfile to a declaractive, instead
of scripted, pipeline, and this was missed.
2020-10-09 22:20:16 -07:00
84725806f5 Try running with Dockerfile 2020-10-09 22:15:24 -07:00
a6d666a7e9 Put output in public_html/ 2020-09-26 16:20:18 -07:00
6dbbe818ca Add Jenkinsfile 2020-09-21 01:44:42 -07:00
2620ee69bf Add mention of Mastering Emacs 2020-09-21 01:12:56 -07:00
3c06769ea9 Restructure website, start writing 2020-09-10 01:34:32 -07:00
8216f2dc83 Add rainbow-delimiters to prog-mode 2020-03-19 23:16:08 -07:00
099356512e Move org-timestamps directory to project
I prefer keeping everything local so nothing can interfere with one another.
2020-03-19 20:38:13 -07:00
077938588b Fixup .gitignore
Everything should publish to ‘/public‘ now instead of ‘/public_html’. Cask uses
‘/.cask’ to install the local dependencies. ‘/posts/index.org’ and
‘/posts/index.org~’ get generated by org-mode.
2020-03-19 20:27:23 -07:00
70ec137a55 Update post properties
‘ID’ shouldn’t be necessary anymore, since it shouldn’t be used for RSS
generation. ‘PUBDATE’ should be ‘DATE’. ‘FILE_TAGS’ is actually ‘FILETAGS’.
2020-03-19 20:24:30 -07:00
3e28016db9 Generate CSS classes instead of trying to generate inline-css
I’ll style the actual faces later.
2020-03-19 20:23:37 -07:00
5c36c36465 Add syntax highlighting for Dockerfile mode 2020-03-19 20:23:17 -07:00
c58e1e28fd Fix publishing
Since everything is published to public/ instead of public_html/ now, I don’t
need to move any directory.
2020-03-19 20:22:03 -07:00
830432c238 Update the way the blog is generated
Instead of using a dynamic block to generate the index, use a sitemap function.
2020-03-19 00:11:07 -07:00
10cf6bbc49 Update reading time generation 2020-02-25 23:35:57 -08:00
9bdcc27549 Update posts 2020-02-25 17:18:20 -08:00
91f2fdd014 Add rough estimation of reading time for each article 2020-02-23 21:02:26 -08:00
c45999ecfa Split posts and index publishing to fix CSS reference 2020-02-23 20:26:46 -08:00
6e368141cb Dynamically generate the index file 2020-02-23 20:23:42 -08:00
cbee86f26d Move public_html to public
If I remember correctly the gitlab pages deployment needs everything to be in
‘public’.
2019-10-06 19:29:11 -07:00
29289a3b76 Fix gitlab-ci.yml
‘before_script’ should be an array of strings.
2019-10-06 19:25:55 -07:00
775552293c Use Cask to run Emacs 2019-10-06 19:09:45 -07:00
c58b56f4ce Don’t use make on the css step
The finalgene/lessc image doesn’t appear to have make installed.
2019-10-06 18:54:06 -07:00
68c87a794c Fix typo 2019-10-06 18:50:34 -07:00
f0c1ca1468 Add gitlab-ci configuration 2019-10-06 18:49:10 -07:00
a00df1cad8 Add styling 2019-10-06 18:29:15 -07:00
fedf46e7ef Ignore draft articles 2019-10-06 18:21:13 -07:00
4207329336 Initial commit 2019-10-06 12:57:14 -07:00