Skip to content

Commit

Permalink
optimize manual trigger (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 authored Oct 14, 2024
1 parent 1a41420 commit e829c57
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/newsletter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ on:
email:
description: 'Email address to send the newsletter to'
required: true

all:
description: 'Uses all entries in the database'
required: false
type: boolean
default: false
instance:
description: 'hosted instance to use'
required: false
type: string
default: 'https://openwallet-foundation.github.io/digital-wallet-and-agent-overviews-sig/#'
jobs:
generate-newsletter:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,7 +50,9 @@ jobs:
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
EMAIL_RECIPIENT: ${{ github.event.inputs.email }}
NODE_ENV: ${{ vars.NODE_ENV }}
EMAIL_STORE: true
EMAIL_STORE: true
LOCAL: ${{ github.event.inputs.all }}
LOCATION: ${{ github.event.inputs.instance }}

- name: Upload newsletter artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e829c57

Please sign in to comment.