Skip to content

Use older cli version #2

Use older cli version

Use older cli version #2

Workflow file for this run

name: Deploy website
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Repository Checkout
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 12
cache: 'npm'
- name: Install Netlify
run: npm install netlify-cli@11 -g
- name: Install Dependencies
run: npm ci
- name: Build project
run: npm run build
# - name: Deploy to Netlify
# id: netlify_deploy
# run: |
# netlify deploy \
# --dir dist \
# --site ${{ secrets.NETLIFY_SITE_ID }} \
# --auth ${{ secrets.NETLIFY_API_TOKEN }}