|
| 1 | +on: |
| 2 | + push: |
| 3 | + branches: |
| 4 | + - "*" # matches every branch that doesn't contain a '/' |
| 5 | + - "*/*" # matches every branch containing a single '/' |
| 6 | + - "**" # matches every branch |
| 7 | + - "!master" # excludes master |
| 8 | + pull_request: |
| 9 | + branches: [master] |
| 10 | + |
| 11 | +jobs: |
| 12 | + deploy-docs: |
| 13 | + runs-on: ubuntu-latest |
| 14 | + steps: |
| 15 | + - uses: actions/checkout@v4 |
| 16 | + - uses: actions/setup-node@v4 |
| 17 | + - uses: docker://pandoc/latex:2.9 |
| 18 | + with: |
| 19 | + args: "pandoc ./documents/forJava/Javaコーディング規約.md -s --self-contained --number-sections --toc -t html5 -c ./documents/common/pandoc_styles/css/style.css -o ./public/resources/Javaコーディング規約.html" |
| 20 | + - uses: docker://pandoc/latex:2.9 |
| 21 | + with: |
| 22 | + args: "pandoc ./documents/forJava/Javaコーディング規約.md --toc --reference-doc=./documents/common/pandoc_styles/スタイル.docx -s -o ./public/resources/Javaコーディング規約.docx" |
| 23 | + - uses: docker://pandoc/latex:2.9 |
| 24 | + with: |
| 25 | + args: "pandoc ./documents/forSQL/SQLコーディング規約(Oracle).md -s --self-contained --number-sections --toc -t html5 -c ./documents/common/pandoc_styles/css/style.css -o ./public/resources/SQLコーディング規約(Oracle).html" |
| 26 | + - uses: docker://pandoc/latex:2.9 |
| 27 | + with: |
| 28 | + args: "pandoc ./documents/forSQL/SQLコーディング規約(Oracle).md --toc --reference-doc=./documents/common/pandoc_styles/スタイル.docx -s -o ./public/resources/SQLコーディング規約(Oracle).docx" |
| 29 | + - uses: docker://pandoc/latex:2.9 |
| 30 | + with: |
| 31 | + args: "pandoc ./documents/forSQL/SQLコーディング規約(PostgreSQL).md -s --self-contained --number-sections --toc -t html5 -c ./documents/common/pandoc_styles/css/style.css -o ./public/resources/SQLコーディング規約(PostgreSQL).html" |
| 32 | + - uses: docker://pandoc/latex:2.9 |
| 33 | + with: |
| 34 | + args: "pandoc ./documents/forSQL/SQLコーディング規約(PostgreSQL).md --toc --reference-doc=./documents/common/pandoc_styles/スタイル.docx -s -o ./public/resources/SQLコーディング規約(PostgreSQL).docx" |
| 35 | + - uses: docker://pandoc/latex:2.9 |
| 36 | + with: |
| 37 | + args: "pandoc ./documents/forAWSResource/AWSインフラリソース命名規約.md -s --self-contained --number-sections --toc -t html5 -c ./documents/common/pandoc_styles/css/style.css -o ./public/resources/AWSインフラリソース命名規約.html" |
| 38 | + - uses: docker://pandoc/latex:2.9 |
| 39 | + with: |
| 40 | + args: "pandoc ./documents/forAWSResource/AWSインフラリソース命名規約.md --toc --reference-doc=./documents/common/pandoc_styles/スタイル.docx -s -o ./public/resources/AWSインフラリソース命名規約.docx" |
| 41 | + - uses: docker://pandoc/latex:2.9 |
| 42 | + with: |
| 43 | + args: "pandoc ./documents/forOpenAPISpecification/OpenAPI_Specification_2.0.md -s --self-contained --number-sections --toc -t html5 -c ./documents/common/pandoc_styles/css/style.css -o ./public/resources/OpenAPI_Specification_2.0.html" |
| 44 | + - uses: docker://pandoc/latex:2.9 |
| 45 | + with: |
| 46 | + args: "pandoc ./documents/forOpenAPISpecification/OpenAPI_Specification_2.0.md --toc --reference-doc=./documents/common/pandoc_styles/スタイル.docx -s -o ./public/resources/OpenAPI_Specification_2.0.docx" |
| 47 | + - name: Archive code coverage results |
| 48 | + uses: actions/upload-artifact@v4 |
| 49 | + with: |
| 50 | + name: pandoc_resources |
| 51 | + path: ./public/resources/ |
| 52 | + retention-days: 1 |
0 commit comments