mobile: Adds the ability to configure the SNI for the xDS connection … #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mobile_docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
jobs: | ||
env: | ||
Check failure on line 14 in .github/workflows/mobile-docs.yml GitHub Actions / mobile_docsInvalid workflow file
|
||
if: ${{ github.repository == 'envoyproxy/envoy' }} | ||
uses: ./.github/workflows/_env.yml | ||
secrets: inherit | ||
docs: | ||
if: ${{ github.repository == 'envoyproxy/envoy' }} | ||
needs: env | ||
runs-on: ${{ needs.env.outputs.agent_ubuntu }} | ||
timeout-minutes: 20 | ||
container: | ||
image: ${{ needs.env.outputs.build_image_ubuntu }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Add safe directory | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Generate docs | ||
run: mobile/docs/build.sh | ||
- name: Set up deploy key | ||
if: github.ref == 'refs/heads/main' | ||
uses: shimataro/[email protected] | ||
with: | ||
key: ${{ secrets.ENVOY_MOBILE_WEBSITE_DEPLOY_KEY }} | ||
known_hosts: unnecessary | ||
- name: Publish docs | ||
if: github.ref == 'refs/heads/main' | ||
run: mobile/docs/publish.sh | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs | ||
path: generated/docs |