Skip to content

Commit

Permalink
переработка ci/cd (типа по git flow)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhaillav committed Feb 29, 2024
1 parent fa728bb commit 4ea619b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Deploy mkdocs to github pages

on:
pull_request:
push:
branches:
- main
types:
[closed]
- "main"
workflow_dispatch:

permissions:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/deploy-test-server.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Deploy mkdocs to test server

on: workflow_dispatch
on:
push:
branches:
- "develop"
paths:
- "**.md"
workflow_dispatch:

jobs:
deploy:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Lint files

on:
pull_request:
branches:
- main
types:
[opened]
push:
branches:
- "!main"
paths:
- "**.md"

Expand Down

0 comments on commit 4ea619b

Please sign in to comment.