diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9955fb4..32eddbc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -24,15 +24,9 @@ jobs: # pull: true # no-cache: true # tags: "git.vanespen.dev/evanespen/blog:latest" - - name: Set token - run: export GIT_TOKEN=${{ env.TOKEN }} - - name: DEBUG - run: echo $GIT_TOKEN - # - name: Setup argocd - # run: | - - # echo $GIT_TOKEN - # # wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz - # # tar xzvf argocd-autopilot-linux-amd64.tar.gz - # # ./argocd-autopilot-linux-amd64 repo bootstrap --repo https://git.vanespen.dev/blog + - name: Setup argocd + run: | + wget https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.4.20/argocd-autopilot-linux-amd64.tar.gz + tar xzvf argocd-autopilot-linux-amd64.tar.gz + GIT_TOKEN=${{ secrets.TOKEN }} ./argocd-autopilot-linux-amd64 repo bootstrap --repo https://git.vanespen.dev/blog