Skip to content

Merge pull request #217 from ios-osushi/feature/123_20241104 #224

Merge pull request #217 from ios-osushi/feature/123_20241104

Merge pull request #217 from ios-osushi/feature/123_20241104 #224

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.10.1"
- name: Build
run: |
swift --version
swift package --version
swift build -v
deploy-github-pages:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.10.1"
- name: Setup
run: make setup
- name: Generate the website
run: make generate
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: ios-osushi/ios-osushi.github.io
publish_branch: master
publish_dir: ./Output