Quellcode durchsuchen

pushing js-test-app

Feroze Mohideen vor 2 Jahren
Ursprung
Commit
ee80eadd60
2 geänderte Dateien mit 15 neuen und 4 gelöschten Zeilen
  1. 14 4
      .github/workflows/porter_stack_test-2.yml
  2. 1 0
      js-test-app

+ 14 - 4
.github/workflows/porter_stack_test-1.yml → .github/workflows/porter_stack_test-2.yml

@@ -2,7 +2,7 @@
   push:
     branches:
     - stacks-fix-cli-analytics
-name: Deploy to test-1
+name: Deploy to test-2
 jobs:
   porter-deploy:
     runs-on: ubuntu-latest
@@ -20,13 +20,23 @@ jobs:
     - name: Install Porter
       timeout-minutes: 30
       run: /bin/bash -c "$(curl -fsSL https://install.porter.run)"
+    - name: Login
+      timeout-minutes: 30
+      run: porter auth login --token $PORTER_TOKEN
+      env:
+        PORTER_CLUSTER: 2
+        PORTER_HOST: https://aebf-160-72-72-58.ngrok-free.app
+        PORTER_PROJECT: 1
+        PORTER_STACK_NAME: test-2
+        PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
+        PORTER_TOKEN: ${{ secrets.PORTER_STACK_1_2 }}
     - name: Deploy stack
       timeout-minutes: 30
-      run: porter auth login --token $PORTER_TOKEN && go run ./cli/main.go apply
+      run: go run ./cli/main.go apply
       env:
         PORTER_CLUSTER: "2"
         PORTER_HOST: https://aebf-160-72-72-58.ngrok-free.app
         PORTER_PROJECT: "1"
-        PORTER_STACK_NAME: test-1
+        PORTER_STACK_NAME: test-2
         PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
-        PORTER_TOKEN: ${{ secrets.PORTER_STACK_7_11 }}
+        PORTER_TOKEN: ${{ secrets.PORTER_STACK_1_2 }}

+ 1 - 0
js-test-app

@@ -0,0 +1 @@
+Subproject commit 1029091a03f39691859d48ebf6fc9c98e687f38c