Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,24 @@ name: build-test-publish
on:
workflow_dispatch:

jobs:
# chocolatey is only available on windows
build:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
actions: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pi-docs"
cancel-in-progress: false

jobs:
documentation:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -19,20 +34,20 @@ jobs:

steps:

# docs Repo
# Docs Repo
- name: Checkout Docs
uses: actions/checkout@v3
with:
path: docs

# protocols repo
# shared repo
- name: Checkout Shared
uses: actions/checkout@v3
with:
repository: perpetualintelligence/shared
path: shared

# protocols repo
# oneterminal repo
- name: Checkout Terminal
uses: actions/checkout@v3
with:
Expand Down
Loading