diff --git a/.github/workflows/deploy_repl.yml b/.github/workflows/deploy_repl.yml new file mode 100644 index 0000000..3c9b2f6 --- /dev/null +++ b/.github/workflows/deploy_repl.yml @@ -0,0 +1,32 @@ +name: "Redeploy REPL" +on: + workflow_run: + workflows: [Create and publish releases, Publish to npm] + types: [completed] + branches: [main] + +jobs: + on-success: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + repository: bigbinary/neeto-commons-repl + + - name: Setup git user + run: | + git config user.name "Labeeb Latheef" + git config user.email "labeeb.latheef@bigbinary.com" + + - name: Create a new empty commit + run: git commit -m "Trigger deployment" --allow-empty + + - name: Push the commit to main + uses: ad-m/github-push-action@492de9080c3179a3187bd456763f988f9a06e196 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: main + repository: bigbinary/neeto-commons-repl diff --git a/README.md b/README.md index 734cc50..0d4e162 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ [![BuildStatus](https://neeto-engineering.neetoci.com/badges/neeto-cist/workflows/default.svg)](https://neeto-engineering.neetoci.com/projects/neeto-cist) A collection of common utility functions used across all our -[neeto](https://neeto.com) products +[neeto](https://neeto.com) products. Try out the utility functions live at +[neetoCommons REPL](https://neeto-cist.neeto.com/). ## Installation Instructions @@ -19,7 +20,6 @@ Install the peer dependencies: yarn add ramda ``` - ## List of Pure Functions