Skip to content

jekyll build

jekyll build #1270

Workflow file for this run

name: jekyll build
on:
push: ~
schedule:
- cron: '0 4 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: development docs
run: |
mkdir tmp && cd tmp
git clone --depth 1 https://github.com/acdh-oeaw/arche-biblatex
git clone --depth 1 https://github.com/acdh-oeaw/arche-core
git clone --depth 1 https://github.com/acdh-oeaw/arche-dashboard
git clone --depth 1 https://github.com/acdh-oeaw/arche-doorkeeper
git clone --depth 1 https://github.com/acdh-oeaw/arche-gui
git clone --depth 1 https://github.com/acdh-oeaw/arche-gui-api
git clone --depth 1 https://github.com/acdh-oeaw/arche-mde-api
git clone --depth 1 https://github.com/acdh-oeaw/arche-fcs
git clone --depth 1 https://github.com/acdh-oeaw/arche-lib
git clone --depth 1 https://github.com/acdh-oeaw/arche-lib-disserv
git clone --depth 1 https://github.com/acdh-oeaw/arche-lib-ingest
git clone --depth 1 https://github.com/acdh-oeaw/arche-lib-schema
git clone --depth 1 https://github.com/acdh-oeaw/arche-oaipmh
git clone --depth 1 https://github.com/acdh-oeaw/arche-resolver
git clone --depth 1 https://github.com/acdh-oeaw/arche-ref-sources
git clone --depth 1 https://github.com/acdh-oeaw/arche-schema-ingest
git clone --depth 1 https://github.com/acdh-oeaw/arche-thumbnails
git clone --depth 1 https://github.com/acdh-oeaw/uriNormalizer
mkdir devdocs
docker run --rm -v $(pwd):/data phpdoc/phpdoc:3.3 -d arche-biblatex/src -d arche-core/src -d arche-dashboard/src -d arche-doorkeeper/src -d arche-gui/src -d arche-gui-api/src -d arche-mde-api/src -d arche-fcs/src -d arche-lib/src -d arche-lib-disserv/src -d arche-lib-ingest/src -d arche-lib-schema/src -d arche-oaipmh/src -d arche-ref-sources/src -d arche-resolver/src -d arche-schema-ingest/src -d arche-thumbnails/src -d uriNormalizer -t devdocs
cd ..
rm -fR devdocs
cp -fR tmp/devdocs .
sudo rm -fR tmp
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
#- uses: docker://faph/action-jekyll:1.5 # doesn't work with ruby 2.7
- name: commit and push
run: |
git config user.email "[email protected]"
git config user.name "Github Actions Workflow"
git add .
git commit -a -m 'Jekyll build'
git push origin