From 345c8281839e5720a7e71e7520122059073406ff Mon Sep 17 00:00:00 2001
From: Tachibana Shin <118260404+tachib-shin@users.noreply.github.com>
Date: Fri, 13 Jan 2023 15:19:33 +0000
Subject: [PATCH] use gh pages
---
.github/workflows/release.yml | 9 +++++----
README.md | 6 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8994fa8..b349fa6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -60,10 +60,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- - name: Push to branch `release`
- run: |
- git branch release -f
- git push origin release -f
+ - name: Deploy to GitHub Pages
+ uses: JamesIves/github-pages-deploy-action@v4.3.3
+ with:
+ branch: gh-pages # The branch the action should deploy to.
+ folder: dist # The folder the action should deploy.
changelog-release:
needs: release
diff --git a/README.md b/README.md
index e8508e2..a861c3b 100644
--- a/README.md
+++ b/README.md
@@ -12,12 +12,12 @@
This is a plugin allow embed [Facebook Comment Plugin](https://developers.facebook.com/docs/plugins/comments/) to website SPA
-Demo: https://embed-fbcmt.vercel.app?href=https://google.com&no_socket=true&num_posts=20
+Demo: https://anime-vsub.github.io/embed-fbcmt?href=https://google.com&no_socket=true&num_posts=20
## Usage
Append this code to location show comment:
```html
-
+
```
> All mentioned [`options of FB comment plugin`](https://developers.facebook.com/docs/plugins/comments/) are available.
In addition, you can also use some of the following custom options:
@@ -44,7 +44,7 @@ You can use this plugin anywhere I will give an example with `Vue`
-
+