Skip to content

Commit

Permalink
trigger on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
saharbechor committed Mar 17, 2022
1 parent b6c0b65 commit 4235ef9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
name: Publish HttpSnippet Packages
name: Publish HttpSnippet Package

on:
push:
branches:
- sahar/cicd
- master
paths-ignore:
- "package.json"
- "**.md"

workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
tags:
description: "Test scenario tag"

jobs:
publish-package:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +42,7 @@ jobs:
github_base_ref: ${{ (github.base_ref) }}
ACTIONS_ACCESS_KEY: ${{ (secrets.ACTIONS_ACCESS_KEY) }}

- name: Publish Package
- name: Publish HttpSnippet Package
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.ACTIONS_ACCESS_KEY}}

0 comments on commit 4235ef9

Please sign in to comment.