sigs.k8s.io/external-dns@v0.14.1/.github/workflows/docs.yml (about) 1 name: Release Docs 2 3 on: 4 push: 5 tags: 6 - "v*" 7 8 permissions: {} 9 jobs: 10 release_docs: 11 permissions: 12 contents: write # for mike to push 13 14 name: Release Docs 15 runs-on: ubuntu-latest 16 steps: 17 - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 18 with: 19 fetch-depth: 0 20 21 - uses: actions/setup-python@v5 22 with: 23 python-version: "3.10" 24 cache: "pip" 25 cache-dependency-path: "./docs/scripts/requirements.txt" 26 27 - uses: actions/setup-go@v5 28 with: 29 go-version: '^1.21' 30 31 - run: | 32 pip install -r docs/scripts/requirements.txt 33 34 - name: setup 35 run: | 36 ./docs/scripts/copy_docs.sh 37 go run ./docs/scripts/docs.go 38 39 - name: Configure Git user 40 run: | 41 git config --local user.email "github-actions[bot]@users.noreply.github.com" 42 git config --local user.name "github-actions[bot]" 43 44 - name: build and push 45 run: | 46 mike deploy ${{ github.ref_name }} latest --push --update-aliases 47 mike set-default --push latest