diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5de57c32e..97eaff38a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -166,117 +166,7 @@ jobs: username: ${{ secrets.HISTAC_USERNAME }} privateKey: ${{ secrets.HISTAC_KEY}} - port: ${{ secrets.HISTAC_PORT }} - - dev_namibia: - runs-on: ubuntu-latest - - needs: pre_release - - if: ${{ github.ref == 'refs/heads/dev' }} - - steps: - - uses: garygrossgarten/github-action-ssh@release - name: Run the Update MicroFronEnd Script for Namibia - with: - command: who && which node && cd /opt/microfrontends && /bin/bash update_microfrontends.sh - host: ${{ secrets.HISTAC_HOST }} - username: ${{ secrets.HISTAC_USERNAME }} - privateKey: ${{ secrets.HISTAC_KEY}} - - port: ${{ secrets.HISTAC_NAMIBIA_PORT }} - - ohri_dev_namibia: - runs-on: ubuntu-latest - - needs: pre_release - - if: ${{ github.ref == 'refs/heads/dev' }} - - steps: - - uses: garygrossgarten/github-action-ssh@release - name: Run the Update MicroFronEnd Script for Namibia - with: - command: who && which node && cd /opt/frontend_modules && /bin/bash update_microfrontends.sh - host: ${{ secrets.HISTAC_DEV_NAMIBIA_HOST }} - username: ${{ secrets.HISTAC_USERNAME }} - privateKey: ${{ secrets.HISTAC_KEY}} - - port: ${{ secrets.HISTAC_DEV_NAMIBIA_PORT }} - - pre_demo: - runs-on: ubuntu-latest - - needs: build - - if: startsWith(github.ref, 'refs/tags/v') - - steps: - - uses: actions/checkout@v3 - - name: Download Artifacts - uses: actions/download-artifact@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: "16" - registry-url: "https://registry.npmjs.org" - - run: yarn install --immutable - - run: yarn run ci:publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - - pre_demo_export_concepts: - runs-on: ubuntu-latest - - needs: pre_demo - - if: startsWith(github.ref, 'refs/tags/v') - - steps: - - uses: garygrossgarten/github-action-ssh@release - name: Run iniz-exporters script to export concepts to csv file. - with: - command: cd /usr/share/tomcat/iniz-exporters/concepts && rm -f concepts.csv && /bin/bash run.sh -u ${{ secrets.HISTAC_DEV_DB_USER }} -p ${{ secrets.HISTAC_DEV_DB_PASSWORD }} -o concepts.csv openmrs_dev - host: ${{ secrets.HISTAC_HOST }} - username: ${{ secrets.HISTAC_USERNAME }} - privateKey: ${{ secrets.HISTAC_KEY}} - port: ${{ secrets.HISTAC_PORT }} - - ohri_demo: - runs-on: ubuntu-latest - - needs: pre_demo_export_concepts - - if: startsWith(github.ref, 'refs/tags/v') - - steps: - # Update the Microfrontends to reflect what we have in the Working branch - - uses: garygrossgarten/github-action-ssh@release - name: Run the Update MicroFronEnd Script - with: - command: cd /usr/share/tomcat/microfrontends/test && sh update_microfrontends.sh - host: ${{ secrets.HISTAC_HOST }} - username: ${{ secrets.HISTAC_USERNAME }} - privateKey: ${{ secrets.HISTAC_KEY}} - port: ${{ secrets.HISTAC_PORT }} - - ohri_namibia_demo: - runs-on: ubuntu-latest - - needs: pre_demo_export_concepts - - if: startsWith(github.ref, 'refs/tags/v') - - steps: - # Update the Microfrontends to reflect what we have in the Working branch - - uses: garygrossgarten/github-action-ssh@release - name: Run the Update MicroFronEnd Script - with: - command: cd /usr/share/tomcat/microfrontends/test && sh update_microfrontends.sh - host: ${{ secrets.HISTAC_HOST }} - username: ${{ secrets.HISTAC_USERNAME }} - privateKey: ${{ secrets.HISTAC_KEY}} - port: ${{ secrets.HISTAC_DEV_NAMIBIA_PORT }} + port: ${{ secrets.HISTAC_PORT }} sandbox_demo: runs-on: ubuntu-latest