Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jun 17, 2024
1 parent 79d2110 commit 057f295
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,14 @@ jobs:
- uses: viash-io/viash-actions/ns-build@v5
with:
parallel: true
setup: build

- name: Deploy to target branch
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: '${{ matrix.name }}'

- name: Build container
uses: viash-io/viash-actions/ns-build@v5
with:
parallel: true
platform: docker
setup: build

- name: Login to container registry
uses: docker/login-action@v3
Expand All @@ -71,7 +65,9 @@ jobs:
password: ${{ secrets.GTHB_PAT }}

- name: Push container
uses: viash-io/viash-actions/ns-build@v5
with:
platform: docker
setup: push
run: |
if [[ ${{ matrix.name }} == build_0_9_* ]]; then
viash ns build --setup push --parallel --engine docker
else
viash ns build --setup push --parallel --platform docker
fi

0 comments on commit 057f295

Please sign in to comment.