forked from Kyome22/RunCatLocalization
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 742 Bytes
/
deploy_docs.yml
File metadata and controls
36 lines (29 loc) · 742 Bytes
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
name: Deploy Docs
on:
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate runner name list
run: |
.github/workflows/scripts/convert.sh Sources/RunCatLocalization/Resources/RunnerName.xcstrings docs/runner-names.json
- name: Upload pages artifact
if: success()
uses: actions/upload-pages-artifact@v4.0.0
with:
path: docs
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4