mirror of
				https://github.com/D00Med/scifi_nodes.git
				synced 2025-10-30 21:55:34 +01:00 
			
		
		
		
	Compare commits
	
		
			12 Commits
		
	
	
		
			mtinfo
			...
			6cf45fcd43
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6cf45fcd43 | |||
| 1ded358e04 | |||
| ecfaa4714a | |||
| c341cb8a20 | |||
| d66e04f9b1 | |||
| d3d6a7bf79 | |||
| e34fdde795 | |||
| 1993068ed1 | |||
| 436f51ab0d | |||
| 749d59a530 | |||
| bd58dbc48b | |||
| 4eaba4f6e1 | 
							
								
								
									
										21
									
								
								.github/workflows/mtinfo.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/mtinfo.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,21 +0,0 @@ | ||||
| name: mtinfo | ||||
|  | ||||
| on: [push, pull_request] | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|  | ||||
|     runs-on: ubuntu-20.04 | ||||
|  | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|  | ||||
|     - name: generate | ||||
|       run: ./generate-mtinfo.sh | ||||
|  | ||||
|     - name: deploy | ||||
|       if: github.ref == 'refs/heads/master' | ||||
|       uses: peaceiris/actions-gh-pages@v3 | ||||
|       with: | ||||
|         github_token: ${{ secrets.GITHUB_TOKEN }} | ||||
|         publish_dir: ./output | ||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -45,6 +45,3 @@ $RECYCLE.BIN/ | ||||
| Network Trash Folder | ||||
| Temporary Items | ||||
| .apdisk | ||||
|  | ||||
| # generated sources | ||||
| output | ||||
|   | ||||
| @@ -1,27 +0,0 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| # prepare config | ||||
| CONFIG=/tmp/scifi_nodes_minetest.conf | ||||
| echo "mtinfo.autoshutdown = true" > ${CONFIG} | ||||
| echo "moreblocks.stairsplus_in_creative_inventory = false" >> ${CONFIG} | ||||
|  | ||||
| # prepare dependent mods | ||||
| WORLDMODS_DIR=/tmp/scifi_nodes_worldmods | ||||
| git clone --depth=1 https://gitlab.com/VanessaE/unifieddyes.git ${WORLDMODS_DIR}/unifieddyes | ||||
| git clone --depth=1 https://gitlab.com/VanessaE/basic_materials.git ${WORLDMODS_DIR}/basic_materials | ||||
| git clone --depth=1 https://github.com/minetest-mods/mesecons.git ${WORLDMODS_DIR}/mesecons | ||||
| git clone --depth=1 https://github.com/minetest-mods/moreblocks.git ${WORLDMODS_DIR}/moreblocks | ||||
| git clone --depth=1 https://github.com/BuckarooBanzay/mtinfo.git ${WORLDMODS_DIR}/mtinfo | ||||
| cp . ${WORLDMODS_DIR}/scifi_nodes -R | ||||
|  | ||||
| # start container with mtinfo | ||||
| docker run --rm -i \ | ||||
| 	--user root \ | ||||
| 	-v ${CONFIG}:/etc/minetest/minetest.conf:ro \ | ||||
| 	-v ${WORLDMODS_DIR}/:/root/.minetest/worlds/world/worldmods \ | ||||
| 	-v $(pwd)/output:/root/.minetest/worlds/world/mtinfo \ | ||||
| 	registry.gitlab.com/minetest/minetest/server:5.4.0 | ||||
|  | ||||
| test -f $(pwd)/output/index.html || exit 1 | ||||
| test -f $(pwd)/output/data/items.js || exit 1 | ||||
| test -d $(pwd)/output/textures || exit 1 | ||||
		Reference in New Issue
	
	Block a user