34-create-package-process (#35)
Some checks failed
Python tests (make) / test (push) Successful in 11s
Build & Push Package / package-and-push (push) Failing after 3s

works on #34

Reviewed-on: #35
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
This commit is contained in:
2025-08-26 20:02:48 +00:00
committed by Josh
parent 27d0f1b6e6
commit 5f3d54f3d7
5 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
name: Build & Push Package
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
package-and-push:
needs: test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and package
run: |
make clean
make all
python package.py
mkdir -p deploy/packages
mv chess-bundle.zip deploy/packages/
- name: Push package to registry
env:
REGISTRY_URL: ${{ secrets.REGISTRY_URL }}
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: ./deploy/push-to-registry.sh