update authentik workflow
All checks were successful
/ non-lab (push) Successful in 1m27s

This commit is contained in:
Chris Cowley 2025-04-02 16:49:35 +02:00
parent 4e68cef823
commit 205c65bc11

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
authentik": authentik":
runs-on: docker runs-on: ubuntu
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -35,11 +35,11 @@ jobs:
export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }} export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }}
export AUTHENTIK_URL="https://auth.lab.cowley.tech" export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu plan -out tfplan tofu plan -out tfplan
- name: Tofu Apply #- name: Tofu Apply
working-directory: ${{ github.workspace }}/authentik" # working-directory: ${{ github.workspace }}/authentik"
run: | # run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig" # export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH} # echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }} # export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }}
export AUTHENTIK_URL="https://auth.lab.cowley.tech" # export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu apply tfplan # tofu apply tfplan