Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
alinasytnik committed Aug 23, 2023
1 parent 60a1716 commit fa32b2e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 23 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/fleek-deploy.yaml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/fleek-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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
4 changes: 2 additions & 2 deletions fleek.config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"sites": [
{
"slug": "cagey-unkempt-parrot",
"slug": "large-unimportant-balloon",
"distDir": "public",
"buildCommand": "yarn run build"
"buildCommand": "yarn && yarn build"
}
]
}

0 comments on commit fa32b2e

Please sign in to comment.