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`