Skip to content

Commit

Permalink
commented file yml
Browse files Browse the repository at this point in the history
  • Loading branch information
salino3 committed Jun 16, 2024
1 parent 476b52e commit fa1e10a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Build and Deploy
# name: Build and Deploy

on:
push:
branches:
- master
# on:
# push:
# branches:
# - master

jobs:
build-and-deploy:
runs-on: ubuntu-latest
# jobs:
# build-and-deploy:
# runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2

- name: Install dependencies
run: npm install
# - name: Install dependencies
# run: npm install

- name: Start JSON server
run: npm run json-server &
# - name: Start JSON server
# run: npm run json-server &

- name: Build
run: npm run build
# - name: Build
# run: npm run build

- name: Deploy
run: npm run deploy
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Deploy
# run: npm run deploy
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fa1e10a

Please sign in to comment.