Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean gh pages #133

Merged
merged 52 commits into from
Apr 4, 2022
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
4bae7c2
test add index.htlm in publish_dir path + add full_commit for commit …
Bullfrog666 Mar 22, 2022
b7d5133
publish_dir = /htmlbut with exclude_assets
Bullfrog666 Mar 22, 2022
521aa88
exclude missing + test static commit message
Bullfrog666 Mar 22, 2022
1c30cc6
test variable commit message
Bullfrog666 Mar 22, 2022
e5e0d43
message is a variable need variable syntaxe
Bullfrog666 Mar 22, 2022
e1cfc06
variable message + static one
Bullfrog666 Mar 22, 2022
0e7f3a6
test echo
Bullfrog666 Mar 22, 2022
2dd7f3c
yaml not executed when PR - revert in case i broke the yaml file in l…
Bullfrog666 Mar 22, 2022
38cb871
yaml executed - put back echo test
Bullfrog666 Mar 22, 2022
a79b4d1
commit message not retrieved + echo not working
Bullfrog666 Mar 22, 2022
05cf7bd
empty line deleted
Bullfrog666 Mar 22, 2022
6cd736f
fixes #117 - create temp file with index.html + variable commit messa…
Bullfrog666 Mar 23, 2022
9a7f9f1
Merge branch 'master' into clean_gh-pages
Bullfrog666 Mar 23, 2022
0debd5e
fixes #117 - yaml not running : try only commit message
Bullfrog666 Mar 23, 2022
9b6791b
fixes #117 - yaml not running : try with ... nothing ?
Bullfrog666 Mar 23, 2022
ef2d7f6
fixes #117 - yaml running : try with temp file create and delete
Bullfrog666 Mar 23, 2022
859cde6
fixes #117 - yaml running : bad temp file path
Bullfrog666 Mar 23, 2022
881f994
fixes #117 - yaml running + temp file ok : adding commit message vari…
Bullfrog666 Mar 23, 2022
4de6d78
fixes #117 - yaml not running : alternative syntaxe
Bullfrog666 Mar 23, 2022
396ed0d
fixes #117 - yaml not running : commit message variable defined in Bu…
Bullfrog666 Mar 23, 2022
39877c0
fixes #117 - try echo variable commit message
Bullfrog666 Mar 23, 2022
9aa0ad5
fixes #117 - remove echo
Bullfrog666 Mar 23, 2022
bf0bff4
fixes #117 - try echo Build.SourceVersionMessage
Bullfrog666 Mar 24, 2022
19f27fa
fixes #117 - try echo static message
Bullfrog666 Mar 24, 2022
872c614
fixes #117 - remove cho + fix syntaxe/indent
Bullfrog666 Mar 24, 2022
20abaa3
fixes #117 - ok mb didn't remove echo ...
Bullfrog666 Mar 24, 2022
bd6be9c
fixes #117 - change commit message variable syntaxe
Bullfrog666 Mar 24, 2022
6043ee2
fixes #117 - indentation reroll
Bullfrog666 Mar 24, 2022
fe7229c
fixes #117 - remove commit message variable
Bullfrog666 Mar 24, 2022
bd7f601
fixes #117 - remove start syntaxe
Bullfrog666 Mar 24, 2022
0e50e38
fixes #117 - run ok - fix indentation
Bullfrog666 Mar 24, 2022
a696e36
fixes #117 - run ok - temp file in target + workflow_dispatch
Bullfrog666 Mar 28, 2022
e709119
fixes #117 - run ok - try cat instead of echo
Bullfrog666 Mar 28, 2022
48ce9e6
fixes #117 - run ok - cat runner.os for test
Bullfrog666 Mar 28, 2022
eceea1f
fixes #117 - run ok - cat 3 kind of commit message variable
Bullfrog666 Mar 28, 2022
9f099e4
fixes #117 - run ok - remove github.event for scientific purpose of c…
Bullfrog666 Mar 28, 2022
dfa8351
fixes #117 - run ok - remove MSG because it crashs ...
Bullfrog666 Mar 28, 2022
5898425
fixes #117 - run ok - remove cat github.event
Bullfrog666 Mar 28, 2022
de912ff
fixes #117 - run ok - try MSG variable
Bullfrog666 Mar 28, 2022
bb3daf4
fixes #117 - run ok - science strike back, put back github.event in c…
Bullfrog666 Mar 28, 2022
077c867
fixes #117 - run ok - try define var
Bullfrog666 Mar 28, 2022
ebc4f23
fixes #117 - don't run - rollback + new echo test
Bullfrog666 Mar 28, 2022
08e83d0
fixes #117 - run ok - echo works ?
Bullfrog666 Mar 28, 2022
6614c4a
fixes #117 - run ok - get bash var in yaml with
Bullfrog666 Mar 28, 2022
14795d0
fixes #117 - not running - is it the probleme ?
Bullfrog666 Mar 28, 2022
1212152
fixes #117 - not running - is it commit_message with variable ?
Bullfrog666 Mar 28, 2022
a4c55e9
fixes #117 - run okl - put bash echo result in yaml var
Bullfrog666 Mar 28, 2022
03deba3
fixes #117 - run okl - try with yaml variable
Bullfrog666 Mar 28, 2022
0a272f9
fixes #117 - not running - delete echo yaml variable
Bullfrog666 Mar 28, 2022
d6ae57e
fixes #117 - run ok - clean no commit message
Bullfrog666 Mar 28, 2022
f4ba4b2
fixes #117 - run ok - delete comments
Bullfrog666 Mar 29, 2022
60d47bf
fixes #117 - run ok - publish_dir path
Bullfrog666 Mar 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 36 additions & 34 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,39 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install linker
run: sudo apt-get update && sudo apt-get install graphviz
- uses: actions/checkout@v2
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
- name: Pimp some maven "features"
uses: s4u/maven-settings-action@v2.4.1
with:
mirrors: |
[{
"id": "rubygems-releases-http-unblocker",
"name": "rubygems-releases",
"mirrorOf": "rubygems-releases",
"url": "http://rubygems-proxy.torquebox.org/releases",
"blocked": false
}]
- name: Build with Maven
run: mvn -B install --file pom.xml -Dagile.architecture.github.token=$TOKEN_FOR_GITHUB --settings .mvn/custom-settings.xml
env:
TOKEN_FOR_GITHUB: ${{ secrets.TOKEN_FOR_GITHUB }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN_FOR_GITHUB }}
publish_dir: ./architecture-documentation/target/asciidoc/docs/html
- name: Install linker
run: sudo apt-get update && sudo apt-get install graphviz
- uses: actions/checkout@v2
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
- name: Pimp some maven "features"
uses: s4u/maven-settings-action@v2.4.1
with:
mirrors: |
[{
"id": "rubygems-releases-http-unblocker",
"name": "rubygems-releases",
"mirrorOf": "rubygems-releases",
"url": "http://rubygems-proxy.torquebox.org/releases",
"blocked": false
}]
- name: Build with Maven
run: mvn -B install --file pom.xml -Dagile.architecture.github.token=$TOKEN_FOR_GITHUB --settings .mvn/custom-settings.xml
env:
TOKEN_FOR_GITHUB: ${{ secrets.TOKEN_FOR_GITHUB }}
- name: Temporary file for gh-pages
run: mkdir ./architecture-documentation/target/temp && cp ./architecture-documentation/target/asciidoc/docs/html/index.html ./architecture-documentation/target/temp
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN_FOR_GITHUB }}
publish_dir: ./architecture-documentation/target/temp