diff --git a/README.md b/README.md index 4df8f03..12e55a0 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,11 @@ jobs: uses: useparagon/paragraph-push@v1 with: paragonKey: ${{ secrets.PARAGON_CLI_KEY }} - npmToken: ${{ secrets.NPM_TOKEN }} paragonZeusUrl: ${{ secrets.ZEUS_URL }} paragonDashboardUrl: ${{ secrets.DASHBOARD_URL }} ``` -Make sure to replace ${{ secrets.PARAGON_CLI_KEY }}, ${{ secrets.NPM_TOKEN }}, ${{ secrets.ZEUS_URL }}, and ${{ secrets.DASHBOARD_URL }} with your actual secrets. Also, ensure to use the correct version of the action. +Make sure to replace ${{ secrets.PARAGON_CLI_KEY }}, ${{ secrets.ZEUS_URL }}, and ${{ secrets.DASHBOARD_URL }} with your actual secrets. Also, ensure to use the correct version of the action. ## Inputs - paragonKey diff --git a/action.yml b/action.yml index badf4b3..41593af 100644 --- a/action.yml +++ b/action.yml @@ -1,18 +1,20 @@ name: 'Paragraph Push Runner' -description: 'Pushes updated code from github branch and sync with paragon project' +description: 'Pushes updated code from GitHub to sync with Paragon.' +branding: + icon: upload-cloud + color: gray-dark inputs: paragonKey: type: string required: true - npmToken: - type: string - required: true paragonZeusUrl: type: string - required: true + required: false + default: https://zeus.useparagon.com paragonDashboardUrl: type: string - required: true + required: false + default: https://dashboard.useparagon.com runs: using: 'composite' @@ -56,12 +58,7 @@ runs: if [ -z "${{ inputs.paragonKey }}" ]; then echo "paragonKey is not provided." exit 1 - fi - - if [ -z "${{ inputs.npmToken }}" ]; then - echo "npmToken is not provided." - exit 1 - fi + fi if [ -z "${{ inputs.paragonZeusUrl }}" ]; then echo "paragonZeusUrl is not provided." @@ -81,8 +78,7 @@ runs: - name: Install para CLI shell: bash run: | - echo "//registry.npmjs.org/:_authToken=${{ inputs.npmToken }}" > ~/.npmrc - npm install -g @useparagon/cli@0.0.1-canary.27 + npm install -g @useparagon/cli - name: Authenticate into CLI env: