Skip to content

Commit 3c820c5

Browse files
committed
fixing data upload
1 parent e499bc5 commit 3c820c5

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/reusable-update.yml

+19-20
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,26 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Build process
16-
uses: devcontainers/ci@v0.3
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '16' # Specify the Node.js version you need
20+
21+
- name: Upload
1722
env:
1823
ELASTIC_HOST: ${{ secrets.TF_VAR_ELASTIC_HOST }}
1924
ELASTIC_PASSWORD: ${{ secrets.TF_VAR_ELASTIC_PASSWORD }}
2025
ELASTIC_USERNAME: ${{ secrets.TF_VAR_ELASTIC_USERNAME }}
21-
with:
22-
runCmd: |
23-
set -x
24-
npm run gen-install-cmd
25-
chmod +x ./install.sh
26-
./install.sh
27-
env | grep -E '^(ELASTIC)_'
28-
COVERED_STATES=${{ inputs.state }} NODE_OPTIONS=--max_old_space_size=8196 addressr-loader
29-
set +x
30-
env: |
31-
ELASTIC_PORT=443
32-
ELASTIC_HOST=$ELASTIC_HOST
33-
ELASTIC_USERNAME=$ELASTIC_USERNAME
34-
ELASTIC_PASSWORD=$ELASTIC_PASSWORD
35-
ELASTIC_PROTOCOL=https
36-
NODE_ENV=production
37-
ADDRESSR_ENABLE_GEO=1
38-
DEBUG=error,api,express:*,swagger-tools*,test,es
26+
ELASTIC_PORT: 443
27+
ELASTIC_PROTOCOL: https
28+
NODE_ENV: production
29+
ADDRESSR_ENABLE_GEO: 1
30+
DEBUG: error,api,express:*,swagger-tools*,test,es
31+
run: |
32+
set -x
33+
npm run gen-install-cmd
34+
chmod +x ./install.sh
35+
./install.sh
36+
COVERED_STATES=${{ inputs.state }} NODE_OPTIONS=--max_old_space_size=8196 addressr-loader
37+
set +x

0 commit comments

Comments
 (0)