mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
lets hope this works!
This commit is contained in:
parent
3b553f6455
commit
127d30918d
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -112,6 +112,13 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '15'
|
node-version: '15'
|
||||||
|
-
|
||||||
|
name: Configure version on dev branches
|
||||||
|
if: startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev'
|
||||||
|
run: |
|
||||||
|
git_hash=$(git rev-parse --short "$GITHUB_SHA")
|
||||||
|
git_branch=${GITHUB_REF#refs/heads/}
|
||||||
|
sed -i -E 's/version: "(.*)"/version: "$git_branch $git_hash"/g' src-ui/src/environments/environment.prod.ts
|
||||||
-
|
-
|
||||||
name: Build frontend
|
name: Build frontend
|
||||||
run: ./compile-frontend.sh
|
run: ./compile-frontend.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user