Skip to content

Commit

Permalink
fix(ship.js): update trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Jul 18, 2020
1 parent b2e15ce commit c9ea814
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 57 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/shipjs-manual-prepare.yml

This file was deleted.

22 changes: 12 additions & 10 deletions .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2
with:
ref: master
- uses: actions/setup-node@v1

- name: Setup node env
uses: actions/setup-node@v1
with:
registry-url: "https://registry.npmjs.org"
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
fi
- run: npm run release:trigger

- name: Install dependencies
run: npm install

- name: Trigger a new release
run: npm run release:trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}

0 comments on commit c9ea814

Please sign in to comment.