Remove docs publishing github action (#396)

This commit is contained in:
Ryan Orendorff
2025-05-06 11:56:10 -06:00
committed by GitHub
parent d454aa2b68
commit 564ee875bc
2 changed files with 0 additions and 35 deletions

View File

@@ -35,16 +35,3 @@ jobs:
- name: Build docs
run: ../mdBook/target/release/mdbook build
working-directory: ./sunscreen_docs
- name: Write to S3
run: aws s3 cp book s3://sunscreen-docs --recursive
working-directory: ./sunscreen_docs
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2
- name: Invalidate Cloudfront
run: aws cloudfront create-invalidation --distribution-id E250PLIECML3N3 --paths "/*"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2

View File

@@ -77,28 +77,6 @@ jobs:
run: ../mdBook/target/release/mdbook test -L dependency=../target/mdbook/deps --extern sunscreen=../target/mdbook/libsunscreen.rlib --extern bincode=../target/mdbook/libbincode.rlib
working-directory: ./sunscreen_docs
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-clippy-
${{ runner.os }}-cargo-
# Check the submitted change passes the clippy linter
- name: Cargo clippy
run: cargo clippy --release --all-targets -- --deny warnings
api_docs:
runs-on: ubuntu-latest
steps: