create Bacterial_Ribosomes_with_mRNA.svg #2359
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cd | |
on: [push] | |
jobs: | |
cd: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Index icons | |
working-directory: ./static/icons | |
run: python index.py | |
- name: Create drawio lib | |
working-directory: ./static/icons | |
run: python drawiolib.py | |
- name: Setup node env | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: yarn | |
- name: Generate | |
run: yarn run generate | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |