Skip to content

Commit

Permalink
still trying to get upload working
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Aug 9, 2024
1 parent ca1ab9e commit 2999d79
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions .github/workflows/update-ot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,36 @@ on:
workflow_dispatch:

jobs:
call-reusable-workflow:
uses: ./.github/workflows/reusable-update.yml
with:
state: OT
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Specify the Node.js version you need

- name: Upload
env:
ELASTIC_HOST: ${{ vars.TF_VAR_ELASTIC_HOST }}
ELASTIC_PASSWORD: ${{ secrets.TF_VAR_ELASTIC_PASSWORD }}
ELASTIC_USERNAME: ${{ secrets.TF_VAR_ELASTIC_USERNAME }}
ELASTIC_PORT: 443
ELASTIC_PROTOCOL: https
NODE_ENV: production
ADDRESSR_ENABLE_GEO: 1
DEBUG: error,api,express:*,swagger-tools*,test,es
run: |
set -x
npm run gen-install-cmd
chmod +x ./install.sh
./install.sh
env | grep -E '^(ELASTIC)_'
COVERED_STATES=OT NODE_OPTIONS=--max_old_space_size=8196 addressr-loader
set +x
# call-reusable-workflow:
# uses: ./.github/workflows/reusable-update.yml
# with:
# state: OT

0 comments on commit 2999d79

Please sign in to comment.