Skip to content

Store.waitUntilAllEventConsumed (#465) #326

Store.waitUntilAllEventConsumed (#465)

Store.waitUntilAllEventConsumed (#465) #326

name: Docs
on:
push:
branches:
- main # Set a branch name to trigger deployment
workflow_dispatch:
env:
SCHEME: "VergeStore"
jobs:
deploy:
runs-on: macos-13
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: "15.0"
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Make dir
run: |
mkdir -p public/Verge
mkdir -p public/VergeNormalization
mkdir -p public/VergeNormalizationDerived
- name: Build Verge
run: swift package --allow-writing-to-directory public/Verge
generate-documentation
--target Verge
--disable-indexing
--transform-for-static-hosting
--hosting-base-path swift-Verge/Verge
--output-path public/Verge
- name: Build VergeNormalization
run: swift package --allow-writing-to-directory public/VergeNormalization
generate-documentation
--target VergeNormalization
--disable-indexing
--transform-for-static-hosting
--hosting-base-path swift-Verge/VergeNormalization
--output-path public/VergeNormalization
- name: Build VergeNormalizationDerived
run: swift package --allow-writing-to-directory public/VergeNormalizationDerived
generate-documentation
--target VergeNormalizationDerived
--disable-indexing
--transform-for-static-hosting
--hosting-base-path swift-Verge/VergeNormalizationDerived
--output-path public/VergeNormalizationDerived
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public