Skip to content

Skip swiftlint in pre-commit CI #42

Skip swiftlint in pre-commit CI

Skip swiftlint in pre-commit CI #42

Workflow file for this run

name: Build DocC Documentation
on:
push:
branches:
- main
jobs:
build-docc:
runs-on: macos-12
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: fwcd/[email protected]
with:
target: EmacsSwiftModule
output: ./docs
hosting-base-path: emacs-swift-module
disable-indexing: "true"
transform-for-static-hosting: "true"
- name: Init new repo in dist folder and commit generated files
run: |
cd docs
git init
git add -A
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m 'deploy'
- name: Force push to destination branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: docs
force: true
directory: ./docs