Skip to content

Commit 63f6ace

Browse files
committed
Merge branch 'master' into rc
2 parents 0743aa5 + 0834b5a commit 63f6ace

File tree

15 files changed

+161611
-20
lines changed

15 files changed

+161611
-20
lines changed

.DS_Store

6 KB
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM debian:buster-slim
2+
# Hack to prevent openjdk-11 install failing
3+
RUN mkdir /usr/share/man/man1/
4+
RUN apt-get update && apt-get -y install openjdk-11-jdk-headless \
5+
rename \
6+
wget \
7+
curl \
8+
zip
9+
RUN apt-get update && apt-get -y install git \
10+
libsaxonhe-java
11+
RUN echo "#! /bin/bash" > /usr/local/bin/saxon \
12+
&& echo "java -jar /usr/share/java/Saxon-HE.jar \$*" >> /usr/local/bin/saxon \
13+
&& chmod 755 /usr/local/bin/saxon
14+
RUN mkdir /opt/actions
15+
COPY process.sh /opt/actions/process.sh
16+
ENTRYPOINT ["/opt/actions/process.sh"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
git config --global user.email "$ACTION_USER_EMAIL"
4+
git config --global user.name "$ACTION_USER_NAME"
5+
git clone --single-branch --branch master "https://x-access-token:$API_TOKEN@github.com/ProjectJaraid/projectjaraid.github.io.git" /opt/projectjaraid
6+
7+
echo "Pre-process master file for publication with CETEIcean and save as HTML"
8+
saxon -s:tei/jaraid_master.TEIP5.xml -xsl:xslt/make-CETEIcean.xsl outfile=chrono
9+
saxon -s:tei/jaraid_master.TEIP5.xml -xsl:xslt/make-CETEIcean.xsl outfile=fihris
10+
11+
cd /opt/projectjaraid
12+
git commit -am "Update from jaraid_source, commit $GITHUB_SHA."
13+
git push origin master
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM debian:buster-slim
2+
# Hack to prevent openjdk-11 install failing
3+
RUN mkdir /usr/share/man/man1/
4+
RUN apt-get update && apt-get -y install openjdk-11-jdk-headless \
5+
rename \
6+
wget \
7+
curl \
8+
zip
9+
RUN apt-get update && apt-get -y install git \
10+
libsaxonhe-java
11+
RUN echo "#! /bin/bash" > /usr/local/bin/saxon \
12+
&& echo "java -jar /usr/share/java/Saxon-HE.jar \$*" >> /usr/local/bin/saxon \
13+
&& chmod 755 /usr/local/bin/saxon
14+
RUN mkdir /opt/actions
15+
COPY process.sh /opt/actions/process.sh
16+
ENTRYPOINT ["/opt/actions/process.sh"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
echo "Update the Arabic columns in the master with data from the authority file"
4+
saxon -s:tei/jaraid_master.TEIP5.xml -xsl:https://projectjaraid.github.io/jaraid_tools/xslt/tei_add-arabic-columns.xsl -o:tei/jaraid_master.TEIP5.xml p_id-editor='github'
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Pre-process master file for publication with CETEIcean"
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
# this specifies the path of the file(s) that have to have been pushed
8+
# for triggering this action
9+
- tei/jaraid_master.TEIP5.xml
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# This step checks out a copy of your repository.
16+
- uses: actions/checkout@v2
17+
# This step references the directory that contains the action.
18+
- name: Publish Updates
19+
env:
20+
API_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
21+
ACTION_USER_EMAIL: ${{ secrets.ACTION_USER_EMAIL }}
22+
ACTION_USER_NAME: ${{ secrets.ACTION_USER_NAME}}
23+
uses: ./.github/actions/pre-process-ceteicean
24+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Update Arabic columns from the authority file"
2+
on:
3+
push:
4+
paths:
5+
# this specifies the path of the file(s) that have to have been pushed
6+
# for triggering this action
7+
- authority-files/jaraid_authority-file.TEIP5.xml
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# This step checks out a copy of your repository.
14+
- uses: actions/checkout@v2
15+
# This step references the directory that contains the action.
16+
- uses: ./.github/actions/update-arabic-columns
17+
# this step automatically commits changes
18+
- uses: stefanzweifel/git-auto-commit-action@v4
19+
with:
20+
commit_message: "Github actions: updated Arabic columns from the authority file"

LICENSE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Project Jarāʾid source files"
3+
subtitle: "License"
4+
author:
5+
- Till Grallert
6+
- Adam Mestyan
7+
date: 2020-12-23
8+
---
9+
10+
# License information
11+
12+
All material in this repository and is licensed under [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-SA 4.0)](http://creativecommons.org/licenses/by-sa/4.0/).

authority-files/jaraid_authority-file.TEIP5.xml

Lines changed: 22663 additions & 0 deletions
Large diffs are not rendered by default.

css/oxygen.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
@namespace xml url(http://www.w3.org/XML/1998/namespace);
2+
teiHeader {
3+
display: block;
4+
background: #E6E6E6;
5+
border: thin solid gray;
6+
font-family: arial, helvetica, sans-serif;
7+
padding: 1em;
8+
}
9+
titleStmt {
10+
display:block;
11+
}
12+
titleStmt editor {
13+
display:block;
14+
}
15+
titleStmt respStmt {
16+
display: block;
17+
}
18+
*[xml|lang=ar] {
19+
direction: rtl;
20+
}
21+
body {
22+
display:block;
23+
margin: 1em;
24+
}
25+
p {
26+
display:block;
27+
}
28+
body p {
29+
direction:rtl;
30+
font-size: 20px;
31+
}
32+
body head {
33+
display:block;
34+
direction:rtl;
35+
font-size:28px;
36+
}
37+
list {
38+
display: block;
39+
}
40+
item {
41+
display: list-item;
42+
margin-left: 1em;
43+
44+
}
45+
standOff {
46+
display:block;
47+
padding: 1em;
48+
}
49+
listPerson person {
50+
display: list-item;
51+
margin-left: 1em;
52+
}
53+
*[rend=bold] {
54+
font-weight: bold;
55+
}
56+
*[rend=italic] {
57+
font-style: italic;
58+
}
59+
*[rend=underline] {
60+
text-decoration: underline;
61+
}

0 commit comments

Comments
 (0)