Skip to content

generate_all

generate_all #1381

Workflow file for this run

name: generate_all
on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
#
jobs:
generate_all:
if: github.repository_owner == 'DataTalksClub'
runs-on: "ubuntu-latest"
steps:
- name: install chromium
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser libxss1 \
fonts-ipafont-gothic fonts-wqy-zenhei \
fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \
--no-install-recommends
- run: chromium-browser --version
- uses: actions/setup-python@v2
with:
python-version: '3.12'
- uses: actions/checkout@v2
- name: pipenv install
run: |
pip install pipenv
pipenv install
- name: npm install
run: |
(cd previews && \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install)
- name: make all
env:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
AIRTABLE_DATABASE: ${{ secrets.AIRTABLE_DATABASE }}
run: |
sudo ln -s `which bash` /bin/gitbash
make all
- run: |
ls
git status
- uses: EndBug/add-and-commit@v8