Skip to content

Generate Latest Release JSON #11

Generate Latest Release JSON

Generate Latest Release JSON #11

name: Generate Latest Release JSON
on:
workflow_dispatch:
release:
types: [released, prereleased]
jobs:
generate_latest_release_json:
runs-on: ubuntu-latest
steps:
- name: Checkout purple-hats repository
uses: actions/checkout@v3
with:
path: purple-hats-desktop
ref: 'docs'
- name: Execute script to generate release catalog json
run: bash purple-hats-desktop/.github/generate-release-catalog.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout to purple-a11y-test repository
uses: actions/checkout@v3
with:
ref: 'docs'
repository: 'GovTechSG/purple-a11y-test'
token: ${{ secrets.GITHUB_TOKEN }}
path: purple-a11y-test
- name: Execute script to generate release catalog json
run: bash purple-hats-desktop/.github/generate-release-catalog.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}