Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
usfalami committed Jan 22, 2025
1 parent e8ecc93 commit 313c5c9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
context: .
tags: "oneteme/${{ github.event.repository.name }}:${{ steps.extract.outputs.minVer }}"
push: true
release:
needs:
- build
- deploy
runs-on: ubuntu-latest
steps:
- uses: oneteme/automation-scripts/.github/actions/create-release-notes@main
with:
version: ${{ needs.build.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# release:
# needs:
# - build
# - deploy
# runs-on: ubuntu-latest
# steps:
# - uses: oneteme/automation-scripts/.github/actions/create-release-notes@main
# with:
# version: ${{ needs.build.outputs.version }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/rungnx.sh /usr/local/bin/rungnx.sh
COPY docker/config-env.map /usr/local/bin/config-env.map
RUN chmod +x /usr/local/bin/rungnx.sh
RUN chmod +r /usr/local/bin/config-env.map
EXPOSE 80
ENTRYPOINT ["rungnx.sh", "/usr/share/nginx/html/environment.remote.json"]
8 changes: 3 additions & 5 deletions docker/rungnx.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#!/bin/sh
echo environment configuration ...
OUT=${1:-"environment.remote.json"}
echo environment configuration ...

OUT=${1:-"environment.remote.json"}
DIR=$(dirname "$0")
echo "map : $DIR"

MAP=$(< "$DIR/config-env.map")
echo "map : $MAP"
echo "map=$MAP"

ENTRIES=""
for ENTRY in $MAP; do #separate var with space
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inspect-app",
"version": "15.12.0",
"version": "15.13.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down

0 comments on commit 313c5c9

Please sign in to comment.