mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
* Add condition to run workflows only for non-forks * Add condition to skip deployment for forks * Add release notes for CI workflow changes
34 lines
882 B
YAML
34 lines
882 B
YAML
name: Release Docs to Github Pages
|
|
|
|
# Release docs on every push to master
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'packages/docs/**'
|
|
- '.github/workflows/docs-spelling.yml'
|
|
- '.github/actions/docs-spelling/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
name: Deploy Docs
|
|
if: github.event.repository.fork == false
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
download-translations: 'false'
|
|
|
|
- name: Docusaurus Deploy
|
|
run: |
|
|
GIT_USER=MikesGlitch \
|
|
GIT_PASS=${{ secrets.DOCS_GITHUB_PAGES_DEPLOY }} \
|
|
GIT_USER_NAME=github-actions[bot] \
|
|
GIT_USER_EMAIL=github-actions[bot]@users.noreply.github.com \
|
|
yarn deploy:docs
|