Skip to content

Update on-release.yaml #14

Update on-release.yaml

Update on-release.yaml #14

Workflow file for this run

name: Send message to release prerpping
on:
push:
tags:
"v3.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.VB_APP_ID }}
private-key: ${{ secrets.VB_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: olegtarasov/[email protected]
id: tagName
- name: Get all the files
id: file_names
run: f=$(python get_files.py); echo "${f}"
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
with:
token: ${{ steps.generate_token.outputs.token }}
repository: vyxal/Release-Prepping
event-type: vyxal3-release
client-payload: '{"tag": "${{ steps.tagName.outputs.tag }}"}'