Testing workflows
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -32,5 +33,5 @@ jobs:
|
|||||||
- name: SSH to the Prod env
|
- name: SSH to the Prod env
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ssh gitea@${{secrets.SSH_HOST}}
|
ssh -tt gitea@${{secrets.SSH_HOST}}
|
||||||
whoiam
|
whoiam
|
||||||
|
13
.github/workflows/testing.yml
vendored
13
.github/workflows/testing.yml
vendored
@ -1,6 +1,17 @@
|
|||||||
name: Testing
|
name: Testing
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [develop]
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
# - '.github/**'
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
# - '.github/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
Reference in New Issue
Block a user