Skip to content

Build & Publish to GitHub Pages #171

Build & Publish to GitHub Pages

Build & Publish to GitHub Pages #171

name: Build & Publish to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- develop
jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
MODEL_EXTERNAL_DOCKER_NETWORK: data
steps:
- uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check out Site Repository πŸ“„
uses: actions/checkout@v2
- name: Check out Model Repository πŸ—ƒοΈ
uses: actions/checkout@v2
with:
repository: 'AKSW/aksw.org-model'
path: '.aksw-model'
- name: Create docker network πŸ–§
run: docker network create ${MODEL_EXTERNAL_DOCKER_NETWORK}
- name: Run Triple Store πŸ“‘
run: task data:model-serve
- name: Build Jekyll-RDF Site βš™οΈ
run: task ci
- name: Deploy πŸš€
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site