Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit 9bf1d89

Browse files
authored
Merge pull request #90 from Maxelweb/testing-ci
Testing ci
2 parents ae2b332 + d3d9cc2 commit 9bf1d89

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

.github/filesToCompile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
interni/verbali/verbale_1
2+
interni/verbali/verbale_2
3+
interni/verbali/verbale_3
4+
interni/studio_fattibilita

.github/workflows/artifacts.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: SWE Docs Artifacts
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- testing-ci
8+
paths:
9+
- 'esterni/**'
10+
- 'interni/**'
11+
- 'template/**'
12+
- '.github/**'
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repo content
21+
uses: actions/checkout@v1
22+
# with:
23+
# ref: develop
24+
25+
- name: Search and Compiling Latex Files
26+
uses: Jatus93/[email protected]
27+
with:
28+
path_to_list: .github/filesToCompile
29+
artifact: true
30+
31+
- name: FTP Artifacts Online Deploy
32+
uses: SamKirkland/[email protected]
33+
env:
34+
FTP_SERVER: ${{ secrets.FTP_HOST }}
35+
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
36+
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
37+
LOCAL_DIR: Documents
38+
ARGS: --transfer-all
39+
40+
- name: Slack Notification
41+
uses: homoluctus/[email protected]
42+
if: always()
43+
with:
44+
type: ${{ job.status }}
45+
job_name: 'PDF Artifacts updated notification'
46+
channel: '#devops_documentazione'
47+
username: 'Docs Deployment Patrol'
48+
url: ${{ secrets.SLACK_WEBHOOK }}

.github/workflows/patrol.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: SWE Docs Patrol
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop
7+
- testing-ci
8+
paths:
9+
- 'esterni/**'
10+
- 'interni/**'
11+
- 'template/**'
12+
- '.github/**'
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repo content
21+
uses: actions/checkout@v1
22+
23+
- name: Search and Compiles Latex Files
24+
uses: Jatus93/[email protected]
25+
with:
26+
path_to_list: .github/filesToCompile
27+
artifact: false
28+
29+
- name: Slack Notification
30+
uses: homoluctus/[email protected]
31+
if: always()
32+
with:
33+
type: ${{ job.status }}
34+
job_name: 'Verify Docs in Pull Request notification'
35+
mention: 'here'
36+
mention_if: 'failure'
37+
channel: '#devops_documentazione'
38+
username: 'Docs Pull Request Patrol'
39+
url: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)