-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from stweil/main
Fix some spelling and whitespace issues
- Loading branch information
Showing
3 changed files
with
41 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,21 +9,21 @@ jobs: | |
name: keyboardGT | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
|
||
|
||
# Installation and Directories | ||
|
||
- name: Download and install saxon | ||
run: | | ||
wget https://sourceforge.net/projects/saxon/files/Saxon-HE/10/Java/SaxonHE10-5J.zip/download | ||
unzip download | ||
- name: Make gh-pages_out, keyboards, doc folder | ||
run: | | ||
run: | | ||
mkdir ghout | ||
mkdir ghout/keyboards | ||
mkdir ghout/keyboards/aletheia | ||
|
@@ -33,64 +33,64 @@ jobs: | |
mkdir ghout/keyboards/escriptorium | ||
mkdir ghout/doc | ||
mkdir keyboards | ||
# Transformation and analysis | ||
|
||
- name: Transform MUFI snapshot to Aletheia keyboard | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=keyboards \ | ||
-s:scripts/keyboard.xsl | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
|
||
- name: Transform MUFI snapshot to Transkribus keyboard | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=tkeyboards \ | ||
-s:scripts/keyboard.xsl | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
|
||
|
||
- name: Transform MUFI snapshot to LAREX keyboard | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=lkeyboards \ | ||
-s:scripts/keyboard.xsl | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
|
||
|
||
- name: Transform MUFI snapshot to qurator-neat keyboard | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=qkeyboards \ | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
|
||
- name: Transform MUFI snapshot to escriptorium keyboard | ||
- name: Transform MUFI snapshot to eScriptorium keyboard | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=ekeyboards \ | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
-s:scripts/keyboard.xsl | ||
shell: bash | ||
|
||
- name: Make compressed table view | ||
run: | | ||
run: | | ||
java -jar saxon-he-10.5.jar -xsl:scripts/keyboard.xsl output=keytable release=$GITHUB_RUN_NUMBER \ | ||
-s:scripts/keyboard.xsl -o:ghout/overview.md | ||
shell: bash | ||
|
||
# GH-style | ||
- name: Copy css styles, keybords, docs and yml files | ||
# GH-style | ||
|
||
- name: Copy css styles, keyboards, docs and yml files | ||
run: | | ||
cp scripts/table_hide.css ghout/ | ||
cp scripts/_config.yml ghout/ | ||
cp docu/* ghout/doc/ | ||
cp -r ghout/keyboards/* keyboards/ | ||
- name: Archive the keyboard files | ||
- name: Archive the keyboard files | ||
uses: thedoctor0/zip-release@master | ||
with: | ||
filename: site.zip | ||
path: 'keyboards' | ||
|
||
# GitHub release | ||
|
||
- name: Create GitHub release | ||
|
@@ -101,11 +101,11 @@ jobs: | |
with: | ||
tag_name: v${{ github.run_number }} | ||
release_name: Release ${{ github.run_number }} | ||
body_path: CHANGELOG.md | ||
body_path: CHANGELOG.md | ||
draft: false | ||
prerelease: false | ||
|
||
|
||
- name: Upload asset to GitHub release | ||
uses: actions/upload-release-asset@latest | ||
env: | ||
|
@@ -115,13 +115,11 @@ jobs: | |
asset_path: ./site.zip | ||
asset_name: keyboardGT-v${{ github.run_number }}.zip | ||
asset_content_type: application/zip | ||
|
||
|
||
- name: Deploy GT-Overview to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: ghout # The folder the action should deploy. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters