Skip to content

Commit

Permalink
Deploy website
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 2, 2025
0 parents commit 188f9ba
Show file tree
Hide file tree
Showing 9 changed files with 252 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main # Set this to your default branch

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Create 404.html and .nojekyll
run: |
cp dist/index.html dist/404.html
touch dist/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
clean: true
branch: gh-pages
token: ${{ secrets.GITHUB_TOKEN }}
git-config-name: github-actions[bot]
git-config-email: github-actions[bot]@users.noreply.github.com
commit-message: "Deploy website"
single-commit: true
Empty file added .nojekyll
Empty file.
16 changes: 16 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/chirp/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CHIRP // AUDIO DATA TRANSMISSION</title>

<script type="module" crossorigin src="/chirp/assets/main-b581d07f.js"></script>
<link rel="stylesheet" href="/chirp/assets/index-47dffc42.css">
</head>
<body>
<div id="root"></div>

</body>
</html>
1 change: 1 addition & 0 deletions assets/index-47dffc42.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 188f9ba

Please sign in to comment.