2022-07-18 14:23:04 +02:00
|
|
|
name: update-docs
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-07-18 14:55:16 +02:00
|
|
|
- dev
|
2022-07-18 14:23:04 +02:00
|
|
|
paths:
|
|
|
|
- docker/docker-compose.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
copy-file:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-03-24 09:10:08 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-07-18 14:23:04 +02:00
|
|
|
|
|
|
|
- name: Pushes docker-compose
|
|
|
|
uses: dmnemec/copy_file_to_another_repo_action@main
|
|
|
|
env:
|
|
|
|
API_TOKEN_GITHUB: ${{ secrets.ACTIONS_TOKEN }}
|
|
|
|
with:
|
|
|
|
source_file: 'docker/docker-compose.yml'
|
|
|
|
destination_repo: 'Bubka/2FAuth-Docs'
|
|
|
|
destination_folder: 'docs/static'
|
|
|
|
user_email: '858858+Bubka@users.noreply.github.com'
|
|
|
|
user_name: 'Bubka'
|
|
|
|
commit_message: '[Auto] Update docker-compose file'
|