Skip to content

Commit

Permalink
try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetancollaud committed Feb 5, 2024
1 parent 0e5efbd commit c1b54e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
working-directory: ./frontend
working-directory: frontend/
run: npm install

- name: Generate Graphql
working-directory: ./frontend
working-directory: frontend/
run: npm run generate

- name: Build
working-directory: ./frontend
working-directory: frontend/
run: npm run build

- name: Login to Docker Hub
Expand All @@ -33,7 +33,7 @@ jobs:

- name: Build and push
uses: docker/build-push-action@v5
working-directory: frontend/
with:
context: "{{defaultContext}}:frontend"
push: true
tags: spoud/kafka-cost-control-ui:latest
5 changes: 1 addition & 4 deletions .github/workflows/ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
branches: [ master, main ]

env:
PLANTUML_URL: https://plantuml.collaud.me

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,5 +17,5 @@ jobs:
uses: manoelcampos/asciidoctor-ghpages-action@v2
with:
pdf_build: true
asciidoctor_params: -r asciidoctor-plantuml
asciidoctor_params: -r asciidoctor-diagram
source_dir: docs/ # default is .
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ docs/**/*.html
docs/**/*.css
docs/**/*.svg
docs/**/*.pdf
docs/.asciidoctor

6 changes: 1 addition & 5 deletions docs/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/bash

docker run -d --name plantuml -p 8081:8080 plantuml/plantuml-server:jetty

export PLANTUML_URL="http://localhost:8081"
asciidoctor -r asciidoctor-diagram README.adoc

asciidoctor -r asciidoctor-plantuml README.adoc

docker rm -f plantuml

0 comments on commit c1b54e0

Please sign in to comment.