mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-23 15:33:26 +08:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Nightly Build
|
|
on:
|
|
# Run everyday at 5:30 UTC
|
|
schedule:
|
|
- cron: '30 5 * * *'
|
|
|
|
jobs:
|
|
make_docker_image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Setup project environment
|
|
run: make env
|
|
- name: Make the build
|
|
run: make docker-save
|
|
- name: Upload the build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: docker_server(release)
|
|
path: build/docker/bombsquad_server_docker.tar
|
|
|
|
make_sphinx_docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Setup project environment
|
|
run: make env
|
|
- name: Make the build
|
|
run: make docs-sphinx
|
|
- name: Upload the build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: sphinx_html_docs
|
|
path: build/sphinx |