Skip to content

Commit

Permalink
Update deploy-genai-appstack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janibashamd authored Nov 8, 2024
1 parent de6c0d5 commit 26c7406
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-genai-appstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ jobs:
run: exit 1

- name: Terraform Apply
if: github.ref == 'refs/heads/deploy-genai-appstack' && github.event_name == 'push'
if: github.ref == 'refs/heads/deploy-genai-appstack2' && github.event_name == 'push'
run: terraform apply -auto-approve -input=false

- name: Deploy App
run: |
curl -LO https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl
ls api.p12
sudo apt-get update
sudo apt-get upgrade openssl
curl --location --header 'Access-Control-Allow-Origin: *' --data-raw '{"expirationTimestamp":"2024-11-18T09:02:25.547659194Z"}' --request POST 'https://treino.console.ves.volterra.io/api/web/namespaces/system/sites/jani-genai-appstack/global-kubeconfigs' --cert-type P12 --cert api.p12:Jani_123

0 comments on commit 26c7406

Please sign in to comment.