Fixed external secrets when we have no secrets. #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nullstone | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: read-all | |
env: | |
NULLSTONE_ORG: nullstone | |
NULLSTONE_API_KEY: ${{ secrets.NULLSTONE_API_KEY }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# - name: Run Bridgecrew | |
# id: Bridgecrew | |
# uses: bridgecrewio/bridgecrew-action@master | |
# with: | |
# api-key: ${{ secrets.BC_API_KEY }} | |
- name: Set up Nullstone | |
uses: nullstone-io/setup-nullstone-action@v0 | |
- name: Find version | |
id: version | |
run: echo "MODULE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | |
- id: publish | |
name: Publish | |
run: | | |
nullstone modules publish --version=${{ env.MODULE_VERSION }} |