diff --git a/.github/workflows/fleek-deploy.yaml b/.github/workflows/fleek-deploy.yaml new file mode 100644 index 0000000..e789047 --- /dev/null +++ b/.github/workflows/fleek-deploy.yaml @@ -0,0 +1,21 @@ +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 @fleekxyz/cli + - name: Install Packages + run: npm install + - name: Build & deploy sites + run: fleek sites deploy