Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 607 Bytes

README.md

File metadata and controls

19 lines (19 loc) · 607 Bytes

corcc/secrets

Usage

    - id: slack-channel
      uses: corcc/secrets@main
      with:
        from: '${{ toJson(secrets) }}'
        name: 'SLACK_CHANNEL_${{ matrix.channel }}'
    - id: slack-token
      uses: corcc/secrets@main			
      with:
        from: '${{ toJson(secrets) }}'
        name: 'SLACK_TOKEN_${{ matrix.application }}'
    - if: ${{ steps.slack-channel.outputs.exists && steps.slack-token.outputs.exists }}
      env:
        SLACK_CHANNEL: ${{ steps.slack-channel.outputs.value }}
        SLACK_TOKEN: ${{ steps.slack-token.outputs.value }}
      run: yarn send:slack:test