Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
ci: remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
tassiluca committed Dec 18, 2023
1 parent 6e16490 commit 01cde7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ on:

jobs:
generate-doc:
if: >-
(github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: danysk/action-checkout@0.2.14

- name: Setup java
uses: actions/setup-java@v3
Expand Down Expand Up @@ -74,11 +73,17 @@ jobs:
spec-file: ./api-service/auth/swagger.json

- name: Build slides with hugo
run: hugo
run: |
pushd docs/presentation
ls -la
hugo
popd
mkdir -p ./public/presentation && cp -r ./docs/presentation/public/ ./public/presentation/
- name: ls
run: |
ls -la ./public
ls -la ./public/presentation
ls -la ./public/smart-contracts/
ls -la ./public/swagger-ui-api
ls -la ./public/swagger-ui-auth
Expand All @@ -87,5 +92,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_branch: api-doc
publish_dir: ./public
File renamed without changes.

0 comments on commit 01cde7d

Please sign in to comment.