Skip to content

Commit

Permalink
fix workflow paths
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Jul 26, 2023
1 parent 10ea613 commit c5c1e62
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/backend-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches: [ main ]
paths:
- backend
- backend/**
- '!backend/README.md'
pull_request:
branches: [ main ]
paths:
- backend
- backend/**
- '!backend/README.md'
# nightly
schedule:
- cron: '0 0 * * *'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dashboard-build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
- main
paths:
- dashboard
- backend/**

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dashboard-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
branches:
- main
paths:
- dashboard
- backend/**
pull_request:
branches:
- main
paths:
- dashboard
- backend/**
workflow_dispatch:
environment:
description: 'Environment to run tests against'
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/scripts/build-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ set -e

# This is pretty much rancher/dashboard .github/workflows/scripts/build-dashboard.sh. Ideally this should come with the app creator

RANCHER_ENV=epinio
EXCLUDES_PKG=rancher-components,harvester
EXCLUDE_OPERATOR_PKG=true
OUTPUT_DIR=dist
RELEASE_DIR=release
ARTIFACT_NAME=rancher-dashboard-epinio-standalone
NODE_OPTIONS="--max-old-space-size=4096"
LOGIN_LOCALE_SELECTOR=false


echo "GITHUB_SHA: $GITHUB_SHA"
echo "GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "ROUTER_BASE: $ROUTER_BASE"
Expand Down

0 comments on commit c5c1e62

Please sign in to comment.