Actualiser .forgejo/workflows/deploy.yml
This commit is contained in:
parent
72707a21e1
commit
60caf0cec1
1 changed files with 8 additions and 0 deletions
|
|
@ -13,6 +13,14 @@ jobs:
|
|||
- name: Checkout du code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Installer kubectl
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y curl
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
chmod +x kubectl
|
||||
sudo mv kubectl /usr/local/bin/
|
||||
|
||||
- name: Déployer sur Kubernetes
|
||||
uses: docker://bitnami/kubectl:latest
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue