Skip to content

cli: add -I and -P short options for --insecure and --proxy #148

cli: add -I and -P short options for --insecure and --proxy

cli: add -I and -P short options for --insecure and --proxy #148

Workflow file for this run

name: doc
on:
push:
branches: ['**']
paths:
- "crates/*/doc/**"
- "doc/**"
- ".github/workflows/doc.yml"
pull_request:
branches: [main]
paths:
- "crates/*/doc/**"
- "doc/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: asciidoctor/docker-asciidoctor
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build docs
run: |
make -C doc
# notify github this isn't a jekyll site
touch target/doc/cli/html/.nojekyll
# upload-pages-artifact doesn't work with busybox tar provided by the container
- name: Install GNU tar
if: ${{ github.ref_name == 'main' && github.repository == 'radhermit/bugbite' }}
run: apk add tar
- name: Upload artifact
if: ${{ github.ref_name == 'main' && github.repository == 'radhermit/bugbite' }}
uses: actions/upload-pages-artifact@v3
with:
path: target/doc/cli/html
deploy:
if: ${{ github.ref_name == 'main' && github.repository == 'radhermit/bugbite' }}
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4