This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dagger/.github/workflows/doc.yml
slumbering e71d81f25c update github doc action
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-21 17:07:52 +02:00

30 lines
612 B
YAML

name: Doc
on:
push:
branches:
- main
tags:
- v*
paths:
- "doc/**"
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Pushes docs file
uses: dagger/doc_copy_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.DAGGERCI_TOKEN }}
with:
source_file: "doc/"
destination_repo: "dagger/launch.dagger.io"
destination_folder: "site/doc"
user_email: "noreply@dagger.io"
user_name: "dagger-bot"