mirror of
https://github.com/signalapp/Signal-Server
synced 2026-08-19 07:34:35 +01:00
Bumps the minor-actions-dependencies group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-java](https://github.com/actions/setup-java) and [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `actions/setup-java` from 5.4.0 to 5.6.0 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/1bcf9fb12cf4aa7d266a90ae39939e61372fe520...03ad4de0992f5dab5e18fcb136590ce7c4a0ac95) Updates `aws-actions/configure-aws-credentials` from 6.2.1 to 6.2.3 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/254c19bd240aabef8777f48595e9d2d7b972184b...e6de054238d6b7531b4efff3b6587d9aade6a06c) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies - dependency-name: actions/setup-java dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-actions-dependencies - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.2.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
name: Update Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version-file: .java-version
|
|
cache: 'maven'
|
|
- name: Install gRPC documentation tooling
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y protobuf-compiler
|
|
pip install sabledocs
|
|
- name: Generate OpenAPI documentation
|
|
run: ./mvnw compile
|
|
- name: Generate gRPC documentation
|
|
run: |
|
|
protoc -I service/src/main/proto service/src/main/proto/org/signal/chat/*.proto \
|
|
-o api-doc/grpc/descriptor.pb --include_source_info
|
|
cd api-doc/grpc && sabledocs
|
|
- name: Push documentation to gh-pages
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
git config user.email "github@signal.org"
|
|
git config user.name "Documentation Updater"
|
|
git fetch origin gh-pages
|
|
git checkout gh-pages
|
|
cp api-doc/target/openapi/signal-server-openapi.yaml .
|
|
rm -rf grpc
|
|
cp -r api-doc/grpc/sabledocs_output grpc
|
|
git add -A signal-server-openapi.yaml grpc
|
|
git diff --cached --quiet || git commit -m "Updating documentation"
|
|
git push origin gh-pages -q
|