Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
add a manual trigger for testing authless (#123)
Browse files Browse the repository at this point in the history
* add a manual trigger for testing authless

* fix the conditional

* just skip the job rather than bailing
  • Loading branch information
aaronmgdr authored and arthurgousset committed Apr 24, 2024
1 parent 6a51816 commit 1cb38d0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ on:
branches:
- main
- 'prerelease/*'

workflow_dispatch:
inputs:
checkAuthOnly:
description: 'For checking that auth works'
required: true
type: choice
options:
- "yes"
concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand All @@ -28,7 +35,7 @@ jobs:
with:
api-url: https://api.gateway.akeyless.celo-networks-dev.org
access-id: p-kf9vjzruht6l
static-secrets: '{"/static-secrets/NPM/npm-rainbowkit-celo":"NPM_TOKEN"}'
static-secrets: '{"/static-secrets/NPM/npm-publish-token":"NPM_TOKEN"}'
- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
Expand All @@ -42,6 +49,7 @@ jobs:
shell: bash
run: yarn
- name: Create Release Pull Request or Publish to npm
if: ${{ inputs.checkAuthOnly }} != "yes"
id: changesets
uses: changesets/action@v1
env:
Expand Down

0 comments on commit 1cb38d0

Please sign in to comment.