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 5beb0ec commit 3ed99f2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ on:
- "website/**"

jobs:
deploy:
# Build job
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
node-version: "18"

- name: Install dependencies for the whole workspace
run: |
Expand All @@ -29,9 +29,19 @@ jobs:
run: |
npm run build --workspaces
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
- name: Upload build artifact
uses: actions/upload-pages-artifact@v1
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/out
publish_branch: gh-pages
path: website/out

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
1 change: 0 additions & 1 deletion website/app/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default function PrivacyPolicy() {
information, feel free to contact us.
</p>
</div>

<div>
<p className="mb-4">
This policy is effective as of 16 December 2019.
Expand Down

0 comments on commit 3ed99f2

Please sign in to comment.