Skip to content

πŸ“ update assets #258

πŸ“ update assets

πŸ“ update assets #258

Workflow file for this run

name: πŸš€ build and deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: πŸ“ Checkout Repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: πŸ›  Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: πŸ›’ Install dependencies
run: |
sudo apt install dos2unix
python -m pip install --upgrade pip
pip install requests colorama rcssmin rjsmin
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: πŸ“œ Run Build
run: python build/build.py
- name: β›³ Deploy Changes
env:
INPUT_BRANCH: "production"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
dos2unix build/deploy.sh
sudo chmod a+x build/deploy.sh
build/deploy.sh