Feat: add data provider for workflows thru data env0_environment (#957) #670
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
env: | |
GO_VERSION: "1.21" | |
jobs: | |
generate-docs: | |
name: Generate Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.ENV0_BOT_PAT }} | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Update generated docs | |
run: ./generate-docs.sh | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: update generated docs action | |
author_email: [email protected] | |
message: "Update docs" | |
add: "docs/*" |