Build & Publish to GitHub Pages #170
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
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 |