aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-29 14:38:23 +0530
committerreal-zephex <[email protected]>2024-03-29 14:38:23 +0530
commitd9a9535ea8f38a1d63a7accd77e7175d5b822284 (patch)
tree02680d7deb0f1b811fd00c42df86eabc24aee31d /.github/workflows
parentUpdate README.md (diff)
downloaddramalama-d9a9535ea8f38a1d63a7accd77e7175d5b822284.tar.xz
dramalama-d9a9535ea8f38a1d63a7accd77e7175d5b822284.zip
fix: manga page now indicates what chapter you are reading
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nextjs.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/nextjs.yaml b/.github/workflows/nextjs.yaml
new file mode 100644
index 0000000..488bcc8
--- /dev/null
+++ b/.github/workflows/nextjs.yaml
@@ -0,0 +1,26 @@
+name: Build and Deploy Next.js
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+
+ - name: Install dependencies
+ run: npm install
+
+ - name: Build
+ run: npm run build
+
+ - name: Deploy
+ uses: JamesIves/[email protected]
+ with:
+ branch: gh-pages
+ folder: .next
+ token: ${{ secrets.GITHUB_TOKEN }}