Skip to content

Commit

Permalink
181 update GitHub action version (#189)
Browse files Browse the repository at this point in the history
* Updated requirements

* Revert "Merge pull request #136 from IN-CORE/create-pull-request/patch"

This reverts commit cf8d337, reversing
changes made to 3bf1cd9.

* Fixed pytest by removed dataset (#183)

* test for merging to test-main branch

* added Tag debug

* changed doc yaml
  • Loading branch information
ywkim312 authored Nov 5, 2024
1 parent 824e614 commit 09e2ea9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- main
- develop
- 'release/*'
- test-main

env:
MAIN_REPO: IN-CORE/pyincore-viz
Expand All @@ -41,7 +42,7 @@ jobs:
BRANCH=${GITHUB_REF##*/}
fi
echo "GITHUB_BRANCH=${BRANCH}" >> $GITHUB_ENV
if [ "$BRANCH" == "main" ]; then
if [ "$BRANCH" == "test-main" ]; then
version=$(awk -F= '/^release/ { print $2}' docs/source/conf.py | sed "s/[ ']//g")
tags="latest"
oldversion=""
Expand All @@ -60,6 +61,10 @@ jobs:
echo "TAGS=${BRANCH}" >> $GITHUB_ENV
fi
# debug TAGS
- name: Debug TAGS
run: echo "TAGS=${{ env.TAGS }}"

# build image
- name: Build image
uses: elgohr/[email protected]
Expand All @@ -82,5 +87,5 @@ jobs:
name: incore/doc/pyincore-viz
username: ${{ secrets.HUB_USERNAME }}
password: ${{ secrets.HUB_PASSWORD }}
tags: "${{ env.TAGS }}"
tags: ${{ env.TAGS }}
buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1

0 comments on commit 09e2ea9

Please sign in to comment.