Add robot components to lib #223
Workflow file for this run
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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
workflow_dispatch: | |
env: | |
JULIA_PKG_SERVER: https://internal.juliahub.com/ | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/[email protected] | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: '1' | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.JULIASIM_REGISTRY_SSH_KEY }} | |
- uses: PumasAI/add-private-registry@main | |
with: | |
juliahub_token_encoded: ${{ secrets.JULIAHUB_TOKEN_ENCODED }} | |
private_registry_name: JuliaSimRegistry | |
private_registry_uuid: 309a7822-a73e-4490-9504-7d1983f27685 | |
- name: Install dependencies | |
run: julia --project=docs -e 'using Pkg; | |
Pkg.setprotocol!(; domain = "github.com", protocol = "ssh"); Pkg.develop(PackageSpec(path=pwd())); | |
Pkg.instantiate()' | |
- name: Build and deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token | |
run: julia --project=docs/ docs/make.jl |