Skip to content

Commit

Permalink
Test CI pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
polymutex committed Feb 6, 2025
1 parent a8ae0b8 commit 3d9fdae
Show file tree
Hide file tree
Showing 5 changed files with 4,580 additions and 574 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/fleek-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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: Install Fleek CLI
run: npm i -g @fleek-platform/cli
- name: Build & deploy sites
run: fleek sites deploy
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"evals",
"evenodd",
"Farcaster",
"Fleek",
"Fluidkey",
"FOSS",
"Frontends",
Expand Down
11 changes: 11 additions & 0 deletions fleek.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { FleekConfig } from '@fleek-platform/cli';

export default {
sites: [
{
slug: 'raspy-ghost-hissing',
distDir: 'out',
buildCommand: 'npm install && npm run build',
},
],
} satisfies FleekConfig;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"react-markdown": "^9.0.1"
},
"devDependencies": {
"@fleek-platform/cli": "^3.8.2",
"@next/bundle-analyzer": "^15.1.2",
"@types/node": "^22.10.2",
"@types/react": "^18.3.18",
Expand Down
Loading

0 comments on commit 3d9fdae

Please sign in to comment.