diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7ddd733d..707c3e8e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 00000000..1e6362e0 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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 \ No newline at end of file