-
Notifications
You must be signed in to change notification settings - Fork 195
50 lines (47 loc) · 1.47 KB
/
documentation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Documentation
on:
push:
branches: [ master ]
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.1
extensions: mbstring, dom, intl, iconv
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Generate documentation
run: bin/daux generate --value html.plausible_domain=daux.io
- name: Deploy same repository 🚀
uses: JamesIves/[email protected]
with:
folder: "static"
branch: gh-pages
- name: Deploy daux.io 🚀
uses: JamesIves/[email protected]
with:
folder: "static"
token: ${{ secrets.GH_TOKEN_DAUX }}
branch: master
repository-name: dauxio/dauxio.github.io
confluence:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.1
extensions: mbstring, dom, intl
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Deploy 🚀
run: bin/daux generate -f confluence --value confluence.user=${{ secrets.CONFLUENCE_USERNAME }} --value confluence.pass=${{ secrets.CONFLUENCE_PASSWORD }}