Skip to content

rearranged home page to simplify it #106

rearranged home page to simplify it

rearranged home page to simplify it #106

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Update 4 deployment
on:
push:
workflow_dispatch: #Allows for manual triggering
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install markdown==3.3.6 requests==2.27.1
- name: Compile language files
run: |
cd ./assets/vanilla-i18n/ && python3 compile.py
- name: Update charter
run: |
python scripts/getDataReuseCharter.py
- name: Build HTMLs
run: |
python scripts/build-headers.py
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add ./assets/vanilla-i18n/*.json
git commit -m "[Automatic] Update language files" || echo "Nothing to update"
git add ./*.html
git commit -m "[Automatic] Update the HTML" || echo "Nothing to update"
git push