ci test #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 on Fleek.xyz | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-to-fleek: | |
environment: production | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Fleek CLI globally | |
run: npm i -g @fleekxyz/cli | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19.8.1 | |
- name: Install dependencies | |
run: npm install | |
- name: Deploy site via Fleek CLI | |
run: fleek sites deploy |