From 6f8721b709ab67b68286ce594ce23d1a18411243 Mon Sep 17 00:00:00 2001 From: jffarge Date: Thu, 6 May 2021 17:06:35 +0200 Subject: [PATCH] feat: :hammer: add doc action to copy doc files from dagger to launch.dagger Signed-off-by: jffarge --- .github/workflows/doc.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/doc.yml diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 00000000..89adbb67 --- /dev/null +++ b/.github/workflows/doc.yml @@ -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'