Compare commits
32
Commits
2d6b0a0816
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38e28cd13c | ||
|
|
7711abe0c4
|
||
|
|
6f9671c4fe
|
||
|
|
e56e86595d
|
||
|
|
7ee62c0d96
|
||
|
|
3ffd883057
|
||
|
|
9cedc7dbcb | ||
|
|
239d11abf0 | ||
|
|
d761504680 | ||
|
|
174c6654e1 | ||
|
|
00d18be8e2 | ||
|
|
5e6e218513 | ||
|
|
36e9f533f9 | ||
|
|
b6c9eb1ec8 | ||
|
|
da88942602 | ||
|
|
80cbe43774 | ||
|
|
ec001f584d | ||
|
|
b9b1293988 | ||
|
|
74073d0041
|
||
|
|
56db039225
|
||
|
|
095982ef17
|
||
|
|
f018748bcb | ||
|
|
98ffd80cf7 | ||
|
|
ff4ade4659 | ||
|
|
b10d675a9e | ||
|
|
7350e7bfe0 | ||
|
|
8451c5d98f | ||
|
|
6b57b5104a | ||
|
|
aa80095b7b | ||
|
|
3970dea08f | ||
|
|
4b54e732b3 | ||
|
|
5ececac706
|
@@ -0,0 +1,28 @@
|
|||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: bylaw-builder
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Setup go
|
||||||
|
uses: https://github.com/actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
- name: Build
|
||||||
|
run: make
|
||||||
|
- name: Release
|
||||||
|
id: use-go-action
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
bylaws.pdf
|
||||||
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
+1
-3
@@ -3,7 +3,5 @@
|
|||||||
* Generating PDFs
|
* Generating PDFs
|
||||||
A PDF can be generated using the following command:
|
A PDF can be generated using the following command:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
guix shell -m manifest.scm -- make
|
docker run --rm -v $PWD:/data -w /data git.axpdsp.org/parliamentarian/bylaw-builder make
|
||||||
#+end_src
|
#+end_src
|
||||||
Assuming that [[https://guix.gnu.org/][GNU Guix]] is installed, this command will handle downloading all
|
|
||||||
dependencies, generating PDF, and cleaning up temporary files.
|
|
||||||
|
|||||||
+1050
-1032
File diff suppressed because it is too large
Load Diff
@@ -6,12 +6,12 @@
|
|||||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||||
("\\section{%s}" . "\\section*{%s}"))))
|
("\\section{%s}" . "\\section*{%s}"))))
|
||||||
|
|
||||||
(setopt org-latex-hyperref-template "
|
(setq org-latex-hyperref-template "
|
||||||
\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},
|
\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},
|
||||||
pdfsubject={%d},\n pdfcreator={%c},\n pdflang={%L},\n colorlinks=true}\n")
|
pdfsubject={%d},\n pdfcreator={%c},\n pdflang={%L},\n colorlinks=true}\n")
|
||||||
|
|
||||||
(keymap-local-set
|
(local-set-key
|
||||||
"C-c t"
|
(kbd "C-c t")
|
||||||
(lambda nil
|
(lambda nil
|
||||||
(interactive)
|
(interactive)
|
||||||
(save-match-data
|
(save-match-data
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
;; What follows is a "manifest" equivalent to the command line you gave.
|
|
||||||
;; You can store it in a file that you may then pass to any 'guix' command
|
|
||||||
;; that accepts a '--manifest' (or '-m') option.
|
|
||||||
|
|
||||||
(specifications->manifest
|
|
||||||
(list "emacs-next" "texlive" "make" "git"))
|
|
||||||
Reference in New Issue
Block a user