Skip to content

Commit

Permalink
chore: Clean the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls committed Apr 5, 2024
1 parent 5dccba7 commit 4579ae2
Show file tree
Hide file tree
Showing 61 changed files with 546 additions and 1,143 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/deploy-api.yml

This file was deleted.

17 changes: 4 additions & 13 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,17 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install npm dependencies
run: yarn --immutable
- name: Run build script
run: yarn workspace site build
- name: Prepare for deployment
run: |
echo "lxp-snap.linea.build" > packages/site/public/CNAME
echo "User-Agent: *" > packages/site/public/robots.txt
echo "Disallow: /" >> packages/site/public/robots.txt
echo "lxp-snap.linea.build" > packages/site/src/CNAME
echo "User-Agent: *" > packages/site/src/robots.txt
echo "Disallow: /" >> packages/site/src/robots.txt
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './packages/site/public'
path: './packages/site/src'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
316 changes: 0 additions & 316 deletions docs/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint": "yarn lint:eslint && yarn lint:misc --check",
"lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' --ignore-path .gitignore",
"lint:misc": "prettier '**/*.html' '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' --ignore-path .gitignore",
"start": "yarn workspaces foreach --parallel --interlaced --verbose run start",
"test": "yarn workspace @consensys/lxp-snap run test"
},
Expand Down
File renamed without changes.
Loading

0 comments on commit 4579ae2

Please sign in to comment.