Skip to content

Commit 30b325e

Browse files
committed
added release workflow
1 parent f52e9bb commit 30b325e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Update Procesing Releases
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Use Node.js 16
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 16
19+
- name: Install dependencies
20+
run: npm install
21+
- name: Fetch releases
22+
run: |
23+
npm run fetchReleases
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Create Pull Request
27+
uses: peter-evans/create-pull-request@v7
28+
with:
29+
title: 'Update releases'
30+
branch: update-releases
31+
add-paths: |
32+
content/download/*.json
33+

0 commit comments

Comments
 (0)