Skip to content

Commit c488620

Browse files
authored
Merge pull request #358 from GovAlta/alpha
Merge to main
2 parents 608ca72 + 0a2f03d commit c488620

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,26 @@ jobs:
1616
- uses: actions/checkout@v2
1717
with:
1818
fetch-depth: 0
19+
1920
- uses: actions/setup-node@v2
2021
with:
2122
node-version: "22"
23+
2224
- uses: actions/cache@v4
2325
with:
2426
path: ~/.npm
2527
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28+
2629
- run: npm ci
30+
2731
- name: Build
2832
env:
2933
VITE_AUTH_TOKEN: ${{ secrets.VITE_AUTH_TOKEN }}
34+
VITE_GITHUB_TOKEN: ${{ secrets.VITE_GITHUB_TOKEN }}
3035
run: |
31-
VITE_AUTH_TOKEN=${{secrets.VITE_AUTH_TOKEN}} npm run build
36+
VITE_AUTH_TOKEN=${{secrets.VITE_AUTH_TOKEN}} VITE_GITHUB_TOKEN=${{secrets.VITE_GITHUB_TOKEN}} npm run build
3237
cp nginx.conf dist/
38+
3339
- name: Oc login
3440
uses: redhat-actions/oc-login@v1
3541
with:
@@ -45,6 +51,7 @@ jobs:
4551

4652
# Optional - this sets your Kubernetes context's current namespace after logging in.
4753
namespace: ui-components-build
54+
4855
- name: Start Build
4956
run: oc start-build ui-components-docs --from-dir dist --follow --wait
5057

0 commit comments

Comments
 (0)