added docker images and sphinx docs to build nightly

This commit is contained in:
Loup-Garou911XD 2024-05-20 18:01:54 +05:30
parent 86748c5c07
commit 2e2a1ef018
2 changed files with 41 additions and 36 deletions

View File

@ -185,39 +185,3 @@ jobs:
with:
name: windows_x86_server_(debug)
path: build/prefab/full/windows_x86_server
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
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

41
.github/workflows/nightly.yml vendored Normal file
View File

@ -0,0 +1,41 @@
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