Create fleek.yml #1
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 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: 16 | |
- name: Install Fleek CLI | |
run: npm i -g @fleek-platform/cli | |
- name: Build & deploy sites | |
run: fleek sites deploy |