Skip to content

Commit

Permalink
docs: fixed name 2games in pages
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Nov 1, 2024
1 parent 4b42f7b commit 160dcd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/DOCS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tools/cd_docs_example.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 160dcd7

Please sign in to comment.