Skip to content

Update build.yml

Update build.yml #8

Workflow file for this run

name: build_app
on:
push:
branches:
- main
jobs:
build_app:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.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: |
cd ./front
yarn install
- name: Build ton app
run: |
cd ./front
yarn build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN }}
BRANCH: build
FOLDER: dist
CLEAN: true