mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-29 19:53:11 +01:00
31 lines
758 B
YAML
31 lines
758 B
YAML
name: update-docs-repo
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- docker/docker-compose.yml
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
copy-docker-compose-file:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: dev
|
|
|
|
- name: Pushes docker-compose
|
|
uses: dmnemec/copy_file_to_another_repo_action@main
|
|
env:
|
|
API_TOKEN_GITHUB: ${{ secrets.ACTIONS_TOKEN_2FAUTH_DOCS }}
|
|
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'
|