fixing git cache #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ******* 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 |