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 1c1b555
Show file tree
Hide file tree
Showing 60 changed files with 545 additions and 1,141 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/deploy-api.yml

This file was deleted.

18 changes: 5 additions & 13 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Publish site to GitHub Pages

on:
workflow_dispatch:
push:

permissions:
contents: read
Expand All @@ -22,26 +23,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.

Loading

0 comments on commit 1c1b555

Please sign in to comment.