Skip to content

Commit

Permalink
fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir-Ivan committed Jul 2, 2024
1 parent 1eb55d5 commit 1a52b8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: NPM publish
on:
workflow_dispatch:
inputs:
versionType:
type: choice
description: Version Type
required: true
options:
- patch
- minor
- major
pull_request:
branches: [ master ]
# workflow_dispatch:
# inputs:
# versionType:
# type: choice
# description: Version Type
# required: true
# options:
# - patch
# - minor
# - major
permissions:
contents: write
jobs:
Expand All @@ -28,7 +30,7 @@ jobs:
- run: npm run build
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "y-infra"
- run: npm run release -- --release-as ${{ github.event.inputs.versionType }}
- run: npm run release -- --release-as patch
- run: npm publish --dry-run
- run: git push --follow-tags --dry-run
env:
Expand Down
3 changes: 2 additions & 1 deletion lib/static/components/controls/base-host-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import { Input } from '@gravity-ui/uikit';
import * as actions from '../../modules/actions';

class BaseHostInput extends Component {
Expand All @@ -19,7 +20,7 @@ class BaseHostInput extends Component {

render() {
return (
<input
<Input
className="control-input basehost__text"
value={this.props.baseHost}
placeholder="change original host for view in browser"
Expand Down

0 comments on commit 1a52b8d

Please sign in to comment.