Skip to content

added Conedison and la_dwp #96

added Conedison and la_dwp

added Conedison and la_dwp #96

name: generate-upload-manifest
on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
generate-manifest:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/Hydrogen
# need to cd into the directory for each command
# possibly a better organization exists but this works for now
- name: Install dependencies
run: cd .github/generator && npm ci
- name: Generate manifest.json
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: cd .github/generator && src/generate-manifest.ts