Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: react webapp + nextjs #7

Open
wants to merge 38 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file removed .DS_Store
Binary file not shown.
10 changes: 0 additions & 10 deletions .babelrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/gh-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Deploy to GitHub Pages

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Cache Node Modules
uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install Dependencies
run: yarn install

- name: Build Project
run: yarn build
env:
CI: true

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
37 changes: 0 additions & 37 deletions .github/workflows/gh-pages.deploy.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/jek.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy 🚀 to GitHub Pages
on:
push:
branches:
- gh-pages
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy-to-github-pages:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-and-deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/dist
/node_modules
.DS_Store
50 changes: 0 additions & 50 deletions .next/build-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion .next/cache/eslint/.cache_5rtmw

This file was deleted.

1 change: 0 additions & 1 deletion .next/cache/eslint/.cache_tupurc

This file was deleted.

Loading
Loading