Skip to content

Commit

Permalink
update deployment configuration for website
Browse files Browse the repository at this point in the history
  • Loading branch information
webloopbox committed Oct 10, 2024
1 parent 23ab390 commit 8afa8a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 48 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
run: |
git clone ${{ github.repository_url }} .
git checkout ${{ github.sha }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
run: |
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
- name: Install dependencies for the whole workspace
run: |
Expand All @@ -30,8 +32,8 @@ jobs:
npm run build --workspaces
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/out
publish_branch: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install -g gh-pages
gh-pages -d website/out -b gh-pages
39 changes: 0 additions & 39 deletions .github/workflows/main.yml

This file was deleted.

1 change: 1 addition & 0 deletions website/app/support/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default function FeaturesPage() {
<h1 className="col-start-1 col-end-13 sm:col-start-2 sm:col-end-12 xl:col-start-3 xl:col-end-11 text-xl md:text-2xl font-bold text-center text-green-primary px-4">
Need support?
</h1>

<p className="col-start-1 col-end-13 sm:col-start-2 sm:col-end-12 xl:col-start-3 xl:col-end-11 text-black-secondary text-center text-xs md:text-sm px-4">
If you have any inquiries or need assistance, our team is here to
help.
Expand Down

0 comments on commit 8afa8a0

Please sign in to comment.