23 lines
507 B
YAML
23 lines
507 B
YAML
name: Talos Platform Deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
container: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Prepare Kubernetes Access (Talos)
|
|
run: |
|
|
echo "${{ secrets.KUBECONFIG_TALOS }}" > ./talos_kubeconfig
|
|
chmod 600 ./talos_kubeconfig
|
|
|
|
- name: Terraform Deploy
|
|
run: |
|
|
terraform init
|
|
terraform apply -auto-approve
|