mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
32 lines
708 B
YAML
32 lines
708 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .github/workflows/docs-update-install.yml
|
|
- docs/installation/*
|
|
|
|
# Allow to call the workflow manually
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
doc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
- run: make install
|
|
- run: make doc-update-install
|
|
- uses: Automattic/action-commit-to-branch@master
|
|
with:
|
|
branch: master
|
|
commit_message: |
|
|
Auto-update install docs
|
|
|
|
Via .github/workflows/docs-update-install.yml
|
|
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|