Skip to content

Commit

Permalink
Move to webcored.github.io repository
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashchokalingam committed Nov 21, 2024
1 parent 3e83429 commit 4d00202
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,13 @@ permissions:
contents: write
pages: write
id-token: write
actions: write
deployments: write
pull-requests: write
statuses: write
checks: write

jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
actions: write
deployments: write
pull-requests: write
statuses: write
checks: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -45,11 +29,8 @@ jobs:
- name: Build with Next.js
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: 'Deploy to GitHub Pages'
folder: out
branch: gh-pages
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
basePath: '/webcored',
images: {
unoptimized: true,
},
Expand Down

0 comments on commit 4d00202

Please sign in to comment.