Add github action workflow
This commit is contained in:
parent
43aaf04843
commit
2f7fcdce7e
30
.github/workflows/continuous-deployment-workflow.yml
vendored
Normal file
30
.github/workflows/continuous-deployment-workflow.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Deployment Workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- README.md
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Deploy Website
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn
|
||||
|
||||
- name: Deploy
|
||||
run: yarn deploy
|
Loading…
Reference in New Issue
Block a user