mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02:00
Add a workflow to update docker-compose in 2FAuth-Docs repository
This commit is contained in:
parent
2dfb1ef754
commit
d34d6b1682
26
.github/workflows/update-docs.yml
vendored
Normal file
26
.github/workflows/update-docs.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: update-docs
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- gatest
|
||||||
|
paths:
|
||||||
|
- docker/docker-compose.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
copy-file:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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'
|
Loading…
x
Reference in New Issue
Block a user