Skip to content

Commit

Permalink
ci(invision-dsm): removes invision release step from master workflow
Browse files Browse the repository at this point in the history
The invision dsm release process requires a token to deploy to invision. This token would be exposed
on pull requests from forks which could lead it to being misused
  • Loading branch information
andy-polhill committed Sep 28, 2020
1 parent bcf9456 commit e4ca01d
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/master_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

dsm:
needs: [verify, release]
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 12
- name: install dependencies
run: npm ci
- name: add dsm secret
env:
DSM_AUTH_TOKEN: ${{ secrets.DSM_AUTH_TOKEN }}
run: sed -i "s/DSM_AUTH_TOKEN/$DSM_AUTH_TOKEN/g" .dsmrc
- name: publish dsm
run: npm run dsm-storybook:publish

0 comments on commit e4ca01d

Please sign in to comment.