Skip to content

Commit

Permalink
update Makefile #2
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvister1 committed Nov 12, 2024
1 parent f9e89fc commit 23ebe9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docs-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }}
TAG: ${{ inputs.git_tag }}
REF_NAME: ${{ github.ref_name }}
REF_TYPE: ${{ github.ref_type }}
REF_TYPE: ${{ github.ref_type }}
REF_HEAD: ${{ github.ref_head }}
PR_TITLE_PREFIX: "task: update documentation for"
steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +53,10 @@ jobs:
run: |
echo "REF_TYPE:" $REF_TYPE
echo "REF_NAME:" $REF_NAME
echo "REF_HEAD:" $REF_HEAD
BRANCH=$REF_NAME
git pull
git checkout $REF_HEAD
make api-docs helm-docs generate-docs-versions-var
- name: Close any existing documentation PRs
run: |
Expand All @@ -74,7 +78,7 @@ jobs:
gh repo sync $DOWNSTREAM_REPO_OWNER/network-operator-docs --source $UPSTREAM_REPO_OWNER/network-operator-docs --branch $UPSTREAM_DEFAULT_BRANCH
git pull
git checkout test-netops-docs-workflow
git checkout $REF_HEAD
git checkout -b $DOWNSTREAM_FEATURE_BRANCH
git status
git add docs
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ SRC := $(shell echo $(if $(TAG),$(TAG),$(BRANCH)) | sed 's/^v//')
# Network Operator source tar location
#REPO_TAR_URL ?= https://github.com/Mellanox/network-operator/archive/refs/$(if $(TAG),tags/$(TAG),heads/$(BRANCH)).tar.gz
REPO_TAR_URL = https://github.com/heyvister1/network-operator/archive/refs/$(if $(TAG),tags/$(TAG),heads/$(BRANCH)).tar.gz

# release.yaml location
#RELEASE_YAML_URL ?= https://raw.githubusercontent.com/Mellanox/network-operator/$(if $(TAG),$(TAG),$(BRANCH))/hack/release.yaml
RELEASE_YAML_URL = https://raw.githubusercontent.com/heyvister1/network-operator/$(if $(TAG),$(TAG),$(BRANCH))/hack/release.yaml
Expand Down

0 comments on commit 23ebe9d

Please sign in to comment.