diff --git a/.github/workflows/ghDeploy.yml b/.github/workflows/ghDeploy.yml new file mode 100644 index 0000000..54b97b2 --- /dev/null +++ b/.github/workflows/ghDeploy.yml @@ -0,0 +1,33 @@ +name: Deploy to GitHub Pages + +permissions: + contents: write + +on: + release: + types: [created] + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Install Dependencies + run: npm ci + + - name: Build + run: npm run build + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.5 + with: + branch: gh-pages + folder: build diff --git a/README.md b/README.md index 91fd23a..f7ff86a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ React Component to show animated text and objects, built with [styled-components The Component provides regular animation for common object and some animation effects especially for typography like letters and multi-line text. - + ## Installation diff --git a/example/.prettierrc b/example/.prettierrc deleted file mode 100644 index 940eac7..0000000 --- a/example/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "semi": false, - "singleQuote": true, - "trailingComma": "es5", - "jsxBracketSameLine": true, - "printWidth": 120, - "editor.formatOnSave": true -} diff --git a/example/dist/index.html b/example/dist/index.html index 44c19d8..019df98 100644 --- a/example/dist/index.html +++ b/example/dist/index.html @@ -1,11 +1,11 @@
-