Skip to content

Commit

Permalink
Attempt to deploy directly from action'
Browse files Browse the repository at this point in the history
  • Loading branch information
adhamu committed Jan 8, 2023
1 parent 4839707 commit 054ad57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 054ad57

Please sign in to comment.