Skip to content

Commit

Permalink
use gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tachib-akiko committed Jan 13, 2023
1 parent 7209390 commit 345c828
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.

changelog-release:
needs: release
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<iframe src="https://embed-fbcmt.vercel.app?<options>"></iframe>
<iframe src="https://anime-vsub.github.io/embed-fbcmt?<options>"></iframe>
```
> 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:
Expand All @@ -44,7 +44,7 @@ You can use this plugin anywhere I will give an example with `Vue`
<template>
<button @click="setPropValue(cmtRef, 'lang', 'ja_JP')">Change lang to Japanese</button>
<iframe ref="cmtRef" src="https://embed-fbcmt.vercel.app?https://google.com&lang=en_US" />
<iframe ref="cmtRef" src="https://anime-vsub.github.io/embed-fbcmt?https://google.com&lang=en_US" />
</template>
Expand Down

0 comments on commit 345c828

Please sign in to comment.