Skip to content

Commit

Permalink
Update ci-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed May 3, 2021
1 parent 2d25790 commit 5cd9e83
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 31 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

name: publish-package

on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
scope: '@react-native-seoul'
- run: yarn
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31 changes: 0 additions & 31 deletions .github/workflows/ci-example.yml

This file was deleted.

0 comments on commit 5cd9e83

Please sign in to comment.