Skip to content

Commit

Permalink
Moved the folder from docs/v1/build to docs/v1.
Browse files Browse the repository at this point in the history
Signed-off-by: Dscano <[email protected]>
  • Loading branch information
Dscano committed Jan 26, 2025
1 parent 7f25475 commit efa8109
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/any-branch-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'docs/v1/build'
SOURCE_DIR: 'docs/v1'
DEST_DIR: ci/${{ github.ref_name }} # only runs for push events
5 changes: 3 additions & 2 deletions .github/workflows/main-branch-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'docs/v1/build'
SOURCE_DIR: 'docs/v1'
DEST_DIR: docs/main
- name: Prepare spec for upload to gh-pages
run: |
git checkout gh-pages
mkdir -p spec
rm -rf spec/main
cp -r docs/v1/build spec/main
cp docs/v1/P4Runtime-Spec.html spec/main
cp docs/v1/P4Runtime-Spec.pdf spec/main
- name: Upload spec to gh-pages
uses: EndBug/add-and-commit@v9
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tag-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'docs/v1/build'
SOURCE_DIR: 'docs/v1/'
DEST_DIR: docs/${{ github.ref_name }}
- name: Prepare spec for upload to gh-pages
run: |
git checkout gh-pages
mkdir -p spec
rm -rf spec/$TAG
cp -r docs/v1/build spec/$TAG
cp docs/v1/P4Runtime-Spec.html spec/$TAG
cp docs/v1/P4Runtime-Spec.pdf spec/$TAG
- name: Upload spec to gh-pages
uses: EndBug/add-and-commit@v9
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Emacs
*~
docs/v1/build/
docs/v1/
.DS_Store
build
dist
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ images:
soffice --convert-to png --outdir resources/figs resources/figs/*.odg > /dev/null 2>&1

build_spec_with_images: images all

clean:
/bin/rm -f ${SPEC}.pdf ${SPEC}.html

0 comments on commit efa8109

Please sign in to comment.