-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 1.01 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ******* AS IN THIS SINGLE REPO, LOTS OF INDIVIDUAL PROJECTS ARE DEPLOYED, EITHER SINGLE PARCEL BUILD IS TO IMPLEMENTED COMBINING ALL THOSE INDIVIDUAL PROJECTS, WHICH COULD BE DONE IN FUTURE. FOR NOW, THE DIST FOLDER IS BEING PUSHED FOR PARCEL PROJECTS. UNTIL THEN, THIS WORKFLOW IS QUITE DISFUNCTIONAL**********
# Workflow to deploy code on server with actions
name: Build Parcel Packages
# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the main branch
push:
branches: [main]
# pull_request:
# branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
web-deploy:
name: 🛠️ Build & Deploy
runs-on: ubuntu-latest
# defaults:
# run:
strategy:
matrix:
node-version: [16.x]
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Path_Man Yarn Install and Parcel Build
run: |
cd path_man && yarn install
yarn build