Trying to deploy with Jekyll
This commit is contained in:
+12
-10
@@ -1,4 +1,4 @@
|
||||
name: Swift
|
||||
name: Jazzy
|
||||
|
||||
on: [push]
|
||||
|
||||
@@ -8,14 +8,16 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Install Jazzy
|
||||
run: gem install jazzy
|
||||
- name: Build
|
||||
run: jazzy --clean --no-objc
|
||||
- name: Copy ressources
|
||||
run: cp Euler.svg ./docs/Euler.svg && cp Euclid.png ./docs/Euclid.png && cd docs && echo "euler.arguiot.com" > CNAME
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
run: mkdir docs && cp Euler.svg ./docs/Euler.svg && cp Euclid.png ./docs/Euclid.png && cd docs && echo "euler.arguiot.com" > CNAME
|
||||
- name: Publish Jazzy Docs
|
||||
# You may pin to the exact commit or the version.
|
||||
# uses: Steven0351/publish-jazzy-docs@9ac83856c845f4b7d4803f1ebb3bbc2fa85bbfdd
|
||||
uses: Steven0351/publish-jazzy-docs@v1.1.2
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs
|
||||
# Path to .jazzy.yml file - preferred
|
||||
config: .jazzy.yml
|
||||
# Arguments to pass to Jazzy
|
||||
args: "--clean --no-objc"
|
||||
# Personal access token
|
||||
personal_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user