Skip to content

Update swift.yml

Update swift.yml #3

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
release:
types: [published]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/ssh-agent@v0.7.0
with:

Check failure on line 18 in .github/workflows/swift.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/swift.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Build
run: swift build -v
- name: Deploy
run: swift run HarryDayBlog --deploy