Merge pull request #424 from slumbering/jffarge/doc-workflows

doc action to copy doc files from dagger to launch.dagger
This commit is contained in:
Andrea Luzzardi 2021-05-06 10:18:53 -07:00 committed by GitHub
commit d9ed7a0030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
.github/workflows/doc.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Doc
on:
push:
paths:
- 'doc/**'
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Pushes docs file
uses: slumbering/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'doc/'
destination_repo: 'slumbering/launch.dagger.io'
destination_folder: 'site/'
user_email: 'slumbering.pierrot@gmail.com'
user_name: 'slumbering'