Skip to content

Merge pull request #34 from chuva-io/blog-implementing-microservices-… #2

Merge pull request #34 from chuva-io/blog-implementing-microservices-…

Merge pull request #34 from chuva-io/blog-implementing-microservices-… #2

name: Deploy to Production with Less.
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.9.0'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Create build for Less
run: yarn build
- name: Deploy site using Less
env:
LESS_TOKEN: ${{ secrets.LESS_TOKEN }}
LESS_APPLICATION_NAME: ${{ vars.LESS_APPLICATION_NAME }}
run: yarn deploy