Skip to content

Commit

Permalink
Deployable
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Apr 13, 2024
1 parent 46d3e26 commit 5f9782d
Show file tree
Hide file tree
Showing 5 changed files with 702 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Deploy

on:
push:
branches:
- master
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true

- name: Build
run: ./ontology-build.sh
env:
DOC_TOURISM: ${{ vars.DOC_TOURISM }}
DOC_CITY: ${{ vars.DOC_CITY }}

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.env
*.csv
Loading

0 comments on commit 5f9782d

Please sign in to comment.