Skip to content

Merge branch 'main' of github.com:M3-org/metaville #2

Merge branch 'main' of github.com:M3-org/metaville

Merge branch 'main' of github.com:M3-org/metaville #2

Workflow file for this run

name: Asset Pallet Generator
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install screenshot-glb
run: npm install --save @shopify/screenshot-glb
- name: Update pallet site
run: |
chmod +x scripts/generate_html_gallery.sh
./scripts/generate_html_gallery.sh models --head > index.html
- name: Take screenshots and make pallet
run: |
chmod +x scripts/process_files.sh
./scripts/process_files.sh models glb png 512 512
./scripts/generate_html_gallery.sh models --body >> index.html
- name: Update README
run: |
python scripts/table.py --head > README.md
python scripts/table.py models >> README.md
- name: Commit changes
run: |
git config --global user.name "madjin"
git config --global user.email "[email protected]"
git add .
git commit -m "Update READMEs"
git push