lisätty puuttuvat scriptit
This commit is contained in:
@@ -15,6 +15,9 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITEA_API_URL: https://gitea.app.keskikuja.site
|
||||
PAGES_HOST: ci-reports.helm-dev.keskikuja.site
|
||||
GIT_PAGES_PUBLISH_URL: https://ci-reports.helm-dev.keskikuja.site
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GIT_PAGES_PUBLISH_TOKEN: ${{ secrets.GIT_PAGES_PUBLISH_TOKEN }}
|
||||
steps:
|
||||
@@ -22,8 +25,3 @@ jobs:
|
||||
|
||||
- name: Publish reports
|
||||
run: bash scripts/publish.sh reports
|
||||
|
||||
- name: Set commit status
|
||||
run: |
|
||||
REPORT_URL="https://${PAGES_HOST}/${GITHUB_REPOSITORY}/reports/${GITHUB_SHA:0:8}/"
|
||||
bash scripts/report-status.sh success "Reports published" "$REPORT_URL" ci-publish
|
||||
|
||||
@@ -5,6 +5,12 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
call-engine:
|
||||
feature:
|
||||
if: github.ref != 'refs/heads/main'
|
||||
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine.yml@plan/0003-alkaa-käyttämään-itseään-commit-raportti
|
||||
secrets: inherit
|
||||
|
||||
main:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: niko/gitea-ci-library/.gitea/workflows/ci-engine.yml@plan/0003-alkaa-käyttämään-itseään-commit-raportti
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user