From 160dcd74ea7c2fef1c3706e9de1dba569c2e2a61 Mon Sep 17 00:00:00 2001 From: RodrigoDornelles Date: Fri, 1 Nov 2024 08:44:15 -0300 Subject: [PATCH] docs: fixed name 2games in pages --- .github/workflows/DOCS.yml | 2 +- tools/cd_docs_example.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/DOCS.yml b/.github/workflows/DOCS.yml index 95c5c64..e4b610b 100644 --- a/.github/workflows/DOCS.yml +++ b/.github/workflows/DOCS.yml @@ -42,7 +42,7 @@ jobs: strategy: fail-fast: false matrix: - game: ['asteroids', 'launcher', 'two_games', 'helloworld', 'gridsystem', 'pong'] + game: ['asteroids', 'launcher', '2games', 'helloworld', 'gridsystem', 'pong'] steps: - uses: actions/checkout@master diff --git a/tools/cd_docs_example.lua b/tools/cd_docs_example.lua index abad97d..7d80f37 100644 --- a/tools/cd_docs_example.lua +++ b/tools/cd_docs_example.lua @@ -2,6 +2,10 @@ local cmd = function(c) assert(require('os').execute(c), c) end local game = arg[1] local file = './html/game.lua' +if game == '2games' then + game = 'two_games' +end + cmd('./cli.sh build @'..game..' --core html5 --dist ./html/') if game == 'dvdplayer' then