Skip to content

Commit

Permalink
Merge pull request #18 from bikk-uk/github-action-cleanup
Browse files Browse the repository at this point in the history
Github action clean-up
  • Loading branch information
aboyce committed Mar 22, 2021
2 parents 2a50634 + 6349d6d commit f470302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 56 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

name: Publish to Github Test
name: Publish Release

on:
workflow_dispatch
release:
types: [created]

jobs:
build:
Expand All @@ -16,7 +16,7 @@ jobs:
- run: yarn
- run: yarn test

publish-github:
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -25,9 +25,8 @@ jobs:
with:
node-version: 14
check-latest: true
scope: '@react-css'
registry-url: https://npm.pkg.github.com
registry-url: https://registry.npmjs.org
- run: yarn
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49 changes: 0 additions & 49 deletions .github/workflows/release-publish.yml

This file was deleted.

0 comments on commit f470302

Please sign in to comment.