Skip to content

Commit

Permalink
deploy script added
Browse files Browse the repository at this point in the history
  • Loading branch information
AYAN committed Jan 5, 2021
1 parent 14224f4 commit 35faff5
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 6 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deploy-game.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: game-deploy-to-github-pages
on:
push:
branches:
- master
jobs:
export-web:
name: Web Export
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:3.2.3
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Web Build
run: |
mkdir -v -p build/web
cd $EXPORT_NAME
godot -v --export "HTML5" ../build/web/index.html
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: web
path: build/web
# Installing rsync is needed in order to deploy to GitHub Pages. Without it, the build will fail.
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build/web # The folder the action should deploy.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
> ## :bar_chart: Checkout the [COVID-19 Tracker :mask: | INDIA](https://www.covid19india.org/) :india:
---

### Our Aim
### Our Aim

To develop an interactive game which has a goal to teach the rich and vast language to the community.We are expecting to set some of the levels or checkpoints to our game to teach the **language Sanskrit** to the players.We have developed a village in which all people talks in Sanskrit and the player has to interact with them to learn Sanskrit language

<p align="center"><img width="85%" src="./screenshots/main-readme.png" /></p>


### Development and Installation
### Development and Installation

We are using ```GoDot``` game engine for the development purpose of the game.To develop with us below mentioned technologies should be pre-installed in our machine

Expand All @@ -32,7 +32,7 @@ We are using ```GoDot``` game engine for the development purpose of the game.To

* After cloning the repo just open the project from ```GoDot```.

## Getting Started
## Getting Started

[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/tetra-devs/maingame?logo=github)](https://vinitshahdeo.github.io/Water-Monitoring-System/) [![GitHub commit activity](https://img.shields.io/github/commit-activity/m/tetra-devs/maingame?color=bluevoilet&logo=github)](https://github.com/tetra-devs/maingame/commits/) [![GitHub repo size](https://img.shields.io/github/repo-size/tetra-devs/maingame?logo=github)](https://vinitshahdeo.github.io/Water-Monitoring-System/)

Expand Down Expand Up @@ -110,7 +110,7 @@ git push -u origin <your_branch_name>
**9.** **Congratulations!** Sit and relax, you've made your contribution to our project
### Repository Structure
### Repository Structure
#### Our main scene is located at ```scenes/main.tscn```
#### Some of the main folder structures are described here
Expand All @@ -124,7 +124,7 @@ This folder contains all the assets such as tileset pngs and other binaries. You
This foler contains main scenes which are used in our main map such as various models of houses, player accessable areas, Grass layouts,Rooms indoors and many more.Any tyoe of contribution is highly welcome.
Getting Involved
Getting Involved
----------------
Depending on what you want to contribute, you need to take different steps
to get your development environment set up.
Expand All @@ -139,7 +139,7 @@ If you have game development skills you are most welcome otherwise you can learn
If you'd like to add more Sanskrit Resources to the game then you are also most welcome, you need not to be a game developer for that.
The planning board contains all issues and pull requests grouped see them in active issues and PRs of this repository
### Used Libraries and Resources
### Used Libraries and Resources
#### Assets use for TileSet Formation
Expand All @@ -161,6 +161,11 @@ Thanks goes to these wonderful people who are maintaining the project.
</table>
## Game Built on GoDot Game Engine ✨
<p align="center"><img width="60%" src="./screenshots/godot.png" /></p>
Binary file added screenshots/godot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35faff5

Please sign in to comment.