Skip to content

Merge pull request #371 from kobotoolbox/About-Kobo-Spanish-link-fix #291

Merge pull request #371 from kobotoolbox/About-Kobo-Spanish-link-fix

Merge pull request #371 from kobotoolbox/About-Kobo-Spanish-link-fix #291

Workflow file for this run

# This workflow builds live website on master commits.
name: CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
- name: Install FE dependencies
run: npm install
- name: Build styles
run: npm start
- name: Create virtual environment
run: python3 -m venv koboenv
- name: Activate virtual environment
run: source koboenv/bin/activate
- name: Install requirements
run: pip install -r requirements.txt
- name: Build public files
run: make html
- name: Disable Jekyll
run: touch _build/html/.nojekyll
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
publish_branch: gh-pages
cname: support.kobotoolbox.org