Update baml.yaml #68
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: urlzap | |
on: [push] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Generate & Deploy | |
steps: | |
# Checkout your repo locally | |
- uses: actions/checkout@v2 | |
# Generate files using this action | |
- name: Generate static site with urlzap | |
uses: brunoluiz/urlzap-github-action@v1 | |
with: | |
config: ./baml.yaml | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10.11" #install the python needed | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: generate qr codes | |
run: | | |
python generate_qr_codes.py | |
# Deploy in Github Pages (you can use others) | |
# also exclude the README.md file | |
- name: deploy to gh-pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: . | |