Fix create folders commands on REST APIs #22
Workflow file for this run
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
name: Deploy to Stage with Less. | |
on: | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: stage | |
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 |