Skip to content

Release 5.0.2

Release 5.0.2 #49

Workflow file for this run

name: Release
on:
release:
types: [ created ]
jobs:
release:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Cocoapods Release
run: |
pod repo add-cdn trunk 'https://cdn.cocoapods.org/'
pod trunk push CucumberSwift.podspec --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Generate DocC Static Site
run: |
swift package --allow-writing-to-directory ./docs \
generate-documentation --target CucumberSwift \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path CucumberSwift/ \
--output-path ./docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs