diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 8b55df2..0525766 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - + workflow_call: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9271c1e..66aee8c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for PR on: pull_request: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3d88bc9..b4d30a9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for Push on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9a9238..402072e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,6 @@ jobs: -t ${DOCKER_REPO}:latest \ -f dockerfiles/cepctl/Dockerfile \ . + + call_ci_workflow: + uses: ./.github/workflows/pages.yml