Skip to content

Generate Latest Release JSON #10

Generate Latest Release JSON

Generate Latest Release JSON #10

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-a11y repository
uses: actions/checkout@v3
with:
ref: 'docs'
- name: Execute script to generate release catalog json
run: bash 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 }}
- name: Execute script to generate release catalog json
run: bash generate-release-catalog.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}