Skip to content

Commit

Permalink
add wenvowl and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davvalent committed Sep 2, 2023
1 parent 073da7d commit fb309ba
Show file tree
Hide file tree
Showing 17 changed files with 58,592 additions and 1 deletion.
49 changes: 49 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: deploy-visualisation

on:
push:
branches:
- main # Set a branch to deploy

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
# submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
# - name: Setup Hugo
# uses: peaceiris/actions-hugo@v2
# with:
# hugo-version: 'latest'
# extended: true

# - name: Build
# run: hugo --minify

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./webvowl

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/owl2vowl*
ontologies/
webvowl/
#webvowl/
Loading

0 comments on commit fb309ba

Please sign in to comment.