-
-
Notifications
You must be signed in to change notification settings - Fork 13
40 lines (34 loc) · 1.19 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push:
branches:
- main
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: mkdir website
- name: Converts Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
output: website/index.html
github-corners: https://github.com/jaywcjlove/markdown
favicon: https://forums.developer.apple.com/forums/build-02092022-2/public/assets/favicon.ico
- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
with:
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
output: website/CONTRIBUTORS.svg
avatarSize: 42
- name: get tag version
id: tag_version
uses: jaywcjlove/changelog-generator@main
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'