chore: ci #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Teste - Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to Cluster | |
runs-on: deploy | |
steps: | |
- name: Clonar arquivos do repositório | |
uses: actions/checkout@v4 | |
- name: Hello, world | |
run: echo hello world! | |
- name: Obter nós do cluster kubernetes | |
run: kubectl get nodes | |
- name: Listar arquivos da pasta atual | |
run: ls -la . | |
- name: deploy dos resources | |
working-directory: ./.github/deploy | |
run: | | |
kubectl apply -f resources.yml |