lsp: Handle case where a rego file is empty (#602) #13
Workflow file for this run
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
# this workflow is used to update the Regal content at docs.styra.com | |
# when it changes in this repo. | |
name: Update Docs | |
on: | |
push: | |
tags: | |
- v[0-9].** | |
workflow_dispatch: | |
jobs: | |
update-docs: | |
name: Update Docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Save version | |
run: | | |
mkdir -p versions | |
echo "${{ github.sha }}" > versions/regal | |
- name: Update docs | |
uses: leigholiver/commit-with-deploy-key@64d2c8705aa10aa475e971b877a7fe6ada69a1a2 | |
with: | |
source: versions | |
destination_folder: imported/versions | |
destination_repo: StyraInc/docs | |
deploy_key: ${{ secrets.STYRA_DOCS_DEPLOY_KEY }} |