forked from sveltejs/kit
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 728 Bytes
/
Copy pathdocs.yml
File metadata and controls
30 lines (27 loc) · 728 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
name: Docs
on:
push:
branches:
- master
paths:
- documentation/**
- packages/*/README.md
jobs:
release:
# prevents this action from running on forks
if: github.repository == 'sveltejs/kit'
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: my-app-install token
id: github-app
uses: getsentry/action-github-app-token@v1
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: run deploy docs workflow
uses: 'sveltejs/action-deploy-docs/dispatch@main'
with:
repo: 'kit'
branch: 'master'
token: ${{ steps.github-app.outputs.token }}