Skip to content

Commit b87b973

Browse files
authored
Merge pull request #20 from nuclearcat/renames3
Staging fixes
2 parents 0965d67 + ea2cc57 commit b87b973

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/staging.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
name: Deploy production
1+
name: Deploy staging
22
on:
3-
push:
4-
branches: [main]
3+
workflow_dispatch:
54

65
jobs:
76
prepare-staging-branches:
8-
runs-on: ubuntu-22.04
9-
environment: deploydocker
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
pull-requests: write
1011
steps:
1112
- name: Checkout
1213
uses: actions/checkout@v4
@@ -29,6 +30,7 @@ jobs:
2930
./kci-pending.py --push ${{ secrets.GHPAT}} kcidb-ng --token ${{ secrets.GITHUB_TOKEN }}
3031
deploy:
3132
runs-on: ubuntu-latest
33+
needs: prepare-staging-branches
3234
steps:
3335
- name: Checkout
3436
uses: actions/checkout@v4

0 commit comments

Comments
 (0)