Skip to content

update-2

update-2 #5

Workflow file for this run

name: Build Aptos Documentation
on:
pull_request:
merge_group:
branches:
- main
env:
CARGO_TERM_COLOR: always
GITHUB_ACTIONS: true
APTOS_NETWORK: local
UPGRADE_CONTRACTS: false
ARTIFACTS_LEVEL: all
DEFAULT_FUNDER_PRIVATE_KEY: ${{ secrets.GH_DEFAULT_FUNDER_PRIVATE_KEY }}
jobs:
build-docs:
name: Build Aptos Documentation
runs-on: Larger-Github-Runners
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Install Aptos CLI
run: |
curl -fsSL "https://aptos.dev/scripts/install_cli.py" | python3
aptos --version # Verify that Aptos CLI is installed
- name: Run Aptos Create Local Testnet
run: |
make local-testnet &
echo $! > aptos_serve_pid.txt
- name: Wait for Aptos Local Testnet to be ready
run: sleep 20
- name: Set Local Aptos Workspace Config
run: make set-workspace-config
- name: Init Local Aptos Workspace Config
run: make init-workspace-config
- name: Run Aptos Create Profiles
run: make init-profiles
- name: Create Documentation
run: make doc-all