Skip to content

πŸ‹οΈ Setup Github config #2

πŸ‹οΈ Setup Github config

πŸ‹οΈ Setup Github config #2

Workflow file for this run

# .github/actions/master.yml
name: πŸš€ Deploy website on push
# Controls when the workflow will run
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: πŸ›  Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: πŸ”¨ Build Project
run: |
npm ci
npm run build
npm run generate