Skip to content

add push trigger for testing #1

add push trigger for testing

add push trigger for testing #1

name: Akto Inventory
on:
push:
branches: [ flash-inventory-swagger ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate Akto OpenAPI specication file
working-directory: ./.github/scripts
env:
AKTO_DASHBOARD_URL: https://flash.staging.akto.io
AKTO_API_KEY: ${{secrets.AKTO_API_KEY}}
run: |
npm install axios
node akto-inventory.js
- name: Archive open_api spec
uses: actions/upload-artifact@v3
with:
name: Akto OpenAPI Specication
path: ./.github/scripts/akto_open_api.json