Skip to content

Commit

Permalink
use azure/setup-kubectl GH action in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzevzl committed Dec 7, 2023
1 parent 4ea3621 commit a49aadd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy-to-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ jobs:
sudo sh -c 'echo "127.0.0.1 ${{ secrets.AZURE_AKS_HOST }}" >> /etc/hosts'
- name: Install kubectl
run: |
sudo curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --no-tty --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.25/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl
uses: azure/setup-kubectl@v3
with:
version: '1.25'

- name: Config kubectl
run: |
Expand Down

1 comment on commit a49aadd

@vercel
Copy link

@vercel vercel bot commented on a49aadd Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marxan – ./

marxan23.vercel.app
marxan-git-develop-vizzuality1.vercel.app
marxan-vizzuality1.vercel.app

Please sign in to comment.