Skip to content

Merge pull request #15 from open-eid/update #24

Merge pull request #15 from open-eid/update

Merge pull request #15 from open-eid/update #24

Workflow file for this run

name: Github Pages
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: python3 -m pip install mkdocs-bootswatch
- name: Build docs
run: |
GLOBIGNORE=ID_software_architecture_files:README.md:.git:.github
rm -rf *
cd ID_software_architecture_files
mkdocs build
sed -ie 's!jquery-1.10.2.min.js!jquery-3.5.0.min.js!' site/404.html
sed -ie 's!jquery-1.10.2.min.js!jquery-3.5.0.min.js!' site/index.html
rm site/*.htmle
rm site/js/jquery*
curl -o site/js/jquery-3.5.0.min.js https://code.jquery.com/jquery-3.5.0.min.js
mv site/* ..
rmdir site
- name: Deploy
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -am "Update site"
git push origin master