Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonfarrell committed Nov 8, 2023
1 parent 8cc5d5b commit c137b1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/delete-me.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
cp $GITHUB_WORKSPACE/utils/make_openapi_json.py .
pip install -r requirements.txt
python make_openapi_json.py
npx @redocly/cli build-docs $GITHUB_WORKSPACE/docs/1.1.1.1/containers/$CONTAINER.html openapi.json
npx @redocly/cli build-docs $GITHUB_WORKSPACE/docs/1.1.2/containers/$CONTAINER.html openapi.json
- uses: actions/upload-artifact@v3
with:
name: container-docs
path: ./docs/1.1.1.1/containers
path: ./docs/1.1.2/containers

commit-docs:
needs:
Expand All @@ -81,18 +81,18 @@ jobs:
uses: actions/download-artifact@v2
with:
name: container-docs
path: ./docs/1.1.1.1/containers
path: ./docs/1.1.2/containers

- name: Copy to latest folder
run: |
rm -rf ./docs/latest
mkdir -p ./docs/latest/sdk
mkdir -p ./docs/latest/containers
cp -r ./docs/1.1.1.1/sdk/* ./docs/latest/sdk
cp -r ./docs/1.1.1.1/containers/* ./docs/latest/containers
cp -r ./docs/1.1.2/sdk/* ./docs/latest/sdk
cp -r ./docs/1.1.2/containers/* ./docs/latest/containers
- name: Commit New Documentation
uses: EndBug/add-and-commit@v9
with:
add: docs
message: Automated update of docs for 1.1.1.1 release.
message: Automated update of docs for 1.1.2 release.

0 comments on commit c137b1c

Please sign in to comment.