Merge pull request #135 from unsignedapps/flagkeypath-mapping #43
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: "Generate Website" | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/website.yml' | |
- '**/*.swift' | |
- '.github/scripts/generate-docs.sh' | |
- '.github/website/*' | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer | |
jobs: | |
BuildWebsite: | |
name: "Build Website" | |
runs-on: macos-11.0 | |
steps: | |
- name: 🛒 Checkout | |
uses: actions/checkout@v4 | |
- name: 👷 Build Website | |
run: .github/scripts/generate-docs.sh | |
- name: 🚀 Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |