Skip to content

Merge pull request #250 from Aisu2635/main #21

Merge pull request #250 from Aisu2635/main

Merge pull request #250 from Aisu2635/main #21

Workflow file for this run

name: "ci-cd pipeline"
on:
push:
branches:
- staging
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Build file
run: npm run build
- name: Deploy production to Netlify
uses: South-Paw/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: './build'
comment-on-commit: true