Release 5.0.1 #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |