Skip to content

Merge pull request #117 from oda-hub/103-add-tutorial-for-renku-secre… #59

Merge pull request #117 from oda-hub/103-add-tutorial-for-renku-secre…

Merge pull request #117 from oda-hub/103-add-tutorial-for-renku-secre… #59

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: sudo apt-get install -y build-essential hugo
- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "ODA Bot"
- name: Prepare Ontology
run: make -B ontology
- name: Compile Ontology
run: make -B ontology-web
- name: Compile and Publish Site
env:
PUSH_SECRET: ${{ secrets.PUSH_SECRET }}
run: |
hugo
cp public/ontology/index-en.html public/ontology/index.html
rm -rfv oda-hub.github.io
git clone https://mmoda-bot:[email protected]/oda-hub/oda-hub.github.io/
rsync -av public/ oda-hub.github.io/
cd oda-hub.github.io/
git add *
git commit -a -m "update"
git push