Skip to content

Update pylode-to-pages.yml #63

Update pylode-to-pages.yml

Update pylode-to-pages.yml #63

name: PyLODE to GitHub Pages
on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:
jobs:
pylode-to-pages:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
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: Build Pages
uses: vliz-be-opsci/pylode-to-pages@v0.1.38
with:
baseuri: https://open-vocabularies.vliz.be
outfolder: ./publish
- name: Show contents
run : find -L ./publish/ -type f | grep -v "\./\.git"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./publish/