Use the new Foundation framework when compiling for Swift 6 (#198) #151
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build and Deploy | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate Documentation for Pages | |
run: ./Documentation/generate_docs.sh | |
- name: Add CNAME | |
run: echo -n bagbutik.dev > docs/CNAME | |
- name: Deploy to GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
build_dir: "docs" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |