Skip to content

Manikandan/features/init (#3) #2

Manikandan/features/init (#3)

Manikandan/features/init (#3) #2

Workflow file for this run

name: Snake Game deploy - Ang App
on:
push:
branches:
- main
jobs:
SNAKE_GAME_BUILD_DEPLOY:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Build Snake Game
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/snake-game-resolve-ai/browser/