๐ refactor!: refactor code, remove unused libraries, update HTML struโฆ #137
This file contains hidden or 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: Build and Deploy | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ๐๏ธ | |
| uses: actions/[email protected] | |
| - name: Set up Python 3 ๐ | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
| architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
| - name: Update PIP โจ | |
| run: | | |
| pip install -U wheel | |
| pip install -U setuptools | |
| python -m pip install -U pip | |
| - name: Install requirements โ๏ธ | |
| run: python -m pip install -r requirements.txt | |
| - name: Run script ๐ | |
| run: python static.py --with-trans-calc | |
| - name: Deploy ๐ | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: main # The branch the action should deploy to. | |
| folder: docs # The folder the action should deploy. |