Skip to content

[WPB-15037] fix flaky test migration to new index #15033

[WPB-15037] fix flaky test migration to new index

[WPB-15037] fix flaky test migration to new index #15033

Workflow file for this run

on:
pull_request:
push:
branches: [master, develop]
jobs:
build-docs:
name: Build docs
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: '${{ secrets.GH_DOCS_WORKFLOW }}'
- uses: cachix/install-nix-action@v27
- uses: cachix/cachix-action@v15
with:
name: wire-server
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build docs
run: nix-build --no-out-link ./nix -A docs
- name: Configure AWS credentials
if: ${{ github.ref == 'refs/heads/develop' }}
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::093205192929:role/gh-actions-wire-server
aws-region: eu-west-1
- name: Deploy docs
if: ${{ github.ref == 'refs/heads/develop' }}
run: |
docs=$(nix-build --no-out-link ./nix -A docs)
aws s3 sync $docs/html s3://origin-docs.wire.com/
aws s3 cp $docs/pdf/wire_federation.pdf s3://origin-docs.wire.com/main.pdf