mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
28 lines
643 B
YAML
28 lines
643 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- site/content/**
|
|
|
|
jobs:
|
|
release:
|
|
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: 'svelte'
|
|
branch: 'master'
|
|
docs_path: 'site/content'
|
|
token: ${{ steps.github-app.outputs.token }} |