Skip to content

Commit 6a715c8

Browse files
committed
Update release workflow for manual trigger, new token
1 parent 00aa2d6 commit 6a715c8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
branch:
10+
description: 'Branch to release from'
11+
required: true
12+
default: 'main'
713

814
concurrency: ${{ github.workflow }}-${{ github.ref }}
915

@@ -19,7 +25,8 @@ jobs:
1925
- name: Checkout Repo
2026
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
2127
with:
22-
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
ref: ${{ inputs.branch }}
2330

2431
- name: Free up space on GitHub image
2532
run: |

0 commit comments

Comments
 (0)