Skip to content

Commit

Permalink
Create deploy_api_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-fiorito-11 committed Jul 6, 2023
1 parent 6f19e02 commit 1ba8d95
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy_api_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: API docs deployment

on:
push:
branches:
- develop

jobs:
deployment:
runs-on: ubuntu-latest
steps:
- name: make docs
run: bash make_docs.sh html
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: api_docs/
destination-github-username: 'luca-fiorito-11'
destination-repository-name: 'sandy_notebooks'
user-email: lucafiorito.11@gmail.com
commit-message: pushing api docs...
target-branch: api_docs

0 comments on commit 1ba8d95

Please sign in to comment.