forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 790 Bytes
/
promote.yml
File metadata and controls
27 lines (25 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Promote
on:
workflow_dispatch:
inputs:
patternfly-version:
description: The version of PatternFly (`@patternfly/patternfly`) to promote to.
required: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out project
uses: actions/checkout@v4
with:
# Pass in an administrator token to get around branch protection.
token: ${{ secrets.GH_TOKEN_REDALLEN }}
- name: Set up and build project
uses: ./.github/actions/setup-project
with:
skip-build-cache: true
- name: Deploy to NPM and Github
run: .github/promote.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PATTERNFLY_VERSION: ${{ github.event.inputs.patternfly-version }}