Skip to content

fix: use yarn in ci, update lockfile #3

fix: use yarn in ci, update lockfile

fix: use yarn in ci, update lockfile #3

Workflow file for this run

name: Deploy site via Fleek
on: push
jobs:
deploy-to-fleek:
runs-on: ubuntu-latest
env:
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }}
FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Fleek CLI
run: npm i -g @fleek-platform/cli
- name: Build & deploy sites using production settings
if: github.ref == 'refs/heads/master'
run: fleek sites deploy --config fleek-prod.config.json
- name: Build & deploy sites using development settings
if: github.ref != 'refs/heads/master'
run: fleek sites deploy --config fleek-dev.config.json