Skip to content

Update build-docc.sh #6

Update build-docc.sh

Update build-docc.sh #6

Workflow file for this run

name: SwiftSafeUI DocC
on:
push:
branches: [main]
workflow_dispatch:
permissions:
pages: write
id-token: write
contents: read
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Build Docs
run: .scripts/build-docc.sh
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: .docs
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}