Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
prevetal committed Feb 18, 2025
2 parents b24c783 + 28cb5de commit e5d5baf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build_app

on:
push:
branches:
- dev

jobs:
build_app:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.10.x]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Build app
run: npm run build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: build
FOLDER: dist
CLEAN: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bro_lottery
# bro_lottery

## Project setup
```
Expand Down

0 comments on commit e5d5baf

Please sign in to comment.