Skip to content

Update on-release.yaml #23

Update on-release.yaml

Update on-release.yaml #23

Workflow file for this run

name: Send message to release prerpping
on:
push:
tags:
"v3.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: g=$(ls); f=$(python filter_files.py "${g}"); 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 }}"}'