Skip to content

Update fleek.yml

Update fleek.yml #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: 18
- name: Create fleek.config.json
run: |
echo '{
"sites": [
{
"slug": "wikip-co",
"distDir": "."
}
]
}' > fleek.config.json
- name: Install Fleek CLI
run: npm i -g @fleek-platform/cli
- name: Build & deploy sites
run: fleek sites deploy