From 054ad571748c5612d83443f4dd081a39178c9af9 Mon Sep 17 00:00:00 2001 From: Amit Dhamu Date: Sun, 8 Jan 2023 18:16:27 +0000 Subject: [PATCH] Attempt to deploy directly from action' --- .github/workflows/ci.yml | 11 ++--------- package.json | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b877cfd..4e60c86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,22 +57,15 @@ jobs: - name: Build run: yarn build - - name: Package Public Folder - if: github.ref == 'refs/heads/main' - run: yarn predeploy - - name: Deploy if: github.ref == 'refs/heads/main' - uses: JamesIves/github-pages-deploy-action@v4.2.5 - with: - branch: gh-pages - folder: public + run: yarn deploy - name: Create Release if: github.ref == 'refs/heads/main' uses: actions/create-release@latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} with: tag_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }} release_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }} diff --git a/package.json b/package.json index f404d96..a4562b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-input-suggestions", - "version": "2.3.0", + "version": "2.3.1", "description": "A React input component with pluggable suggestions and autocomplete", "keywords": [ "react",