mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
04bc9fbd13
this is a bit of https://github.com/cmss13-devs/cmss13/pull/8646 https://github.com/cmss13-devs/cmss13/pull/8875 https://github.com/cmss13-devs/cmss13/pull/8606 https://github.com/cmss13-devs/cmss13/pull/8607 https://github.com/cmss13-devs/cmss13/pull/8359 https://github.com/cmss13-devs/cmss13/pull/7860 ( and thus https://github.com/ParadiseSS13/Paradise/pull/25105 https://github.com/ParadiseSS13/Paradise/pull/25205 https://github.com/ParadiseSS13/Paradise/pull/25363 https://github.com/ParadiseSS13/Paradise/pull/26423 and https://github.com/ParadiseSS13/Paradise/pull/26433 ) https://github.com/tgstation/tgstation/pull/89766 in order to work properly - using the efficient storage method, instead of the byond json method - github pages needs to be enabled and built from the gh-pages branch. because yeah --------- Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
24 lines
599 B
YAML
24 lines
599 B
YAML
name: Generate web assets
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
generate_static_assets:
|
|
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
|
|
runs-on: ubuntu-latest
|
|
concurrency: gen-assets
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Generate static assets
|
|
run: |
|
|
mv tgui/public/ assets
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
|
with:
|
|
BRANCH: gh-pages
|
|
CLEAN: true
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
SINGLE_COMMIT: true
|
|
FOLDER: assets
|