add a new render.yaml file for only docs #819
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: Guard API Key Leak | |
on: {} | |
jobs: | |
detect-key-leak: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: yarn build | |
run: yarn && yarn build | |
working-directory: ./generator/konfig-dash | |
env: | |
# required to avoid `Usage Error: Environment variable not found (NPM_TOKEN)` | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Detect API key leaks | |
run: ./generator/konfig-dash/bash-scripts/guard-api-key-leak.sh |