Skip to content

Commit

Permalink
Remove steps from staging yml for manual testing #3910
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMehl committed Feb 11, 2025
1 parent 5654626 commit 19ce1f4
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/staging-visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,6 @@ jobs:
- name: Set short SHA
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

# Docker build and push with staging tags
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./visualization
push: true
tags: |
codecharta/codecharta-visualization:staging
codecharta/codecharta-visualization:staging-${{ env.SHORT_SHA }}
# Publish to npm with staging tag
- name: Update package version
working-directory: ./visualization
run: |
npm version "0.0.0-staging-${SHORT_SHA}" --no-git-tag-version
- name: Publish to npm
working-directory: ./visualization
run: |
npm publish --tag staging
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Sample File for Web Demo
run: sh ./script/build_demo_files.sh

Expand Down

0 comments on commit 19ce1f4

Please sign in to comment.