Skip to content

Commit

Permalink
Update ci.yml (#121)
Browse files Browse the repository at this point in the history
* Update ci.yml

* ...

* ...
  • Loading branch information
danitseitlin authored Nov 20, 2021
1 parent df55f45 commit 0aae377
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ on:
pull_request:
jobs:
pkg_deployment:
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
G_AUTH_TOKEN: ${{secrets.G_AUTH_TOKEN}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setting up the environment
run: npm install && npm run pkg-build && sudo npm link
- name: Deploying version
run: sudo deploy-pkg npm-package-deployer --npm-access-token=${{secrets.NPM_AUTH_TOKEN}} --github-access-token=${{secrets.G_AUTH_TOKEN}} --github-owner=danitseitlin --github-repo=npm-package-deployer --dry-run --publish-pretty-output --debug
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

action_deployment:
runs-on: ubuntu-latest
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
G_AUTH_TOKEN: ${{secrets.G_AUTH_TOKEN}}
steps:
- uses: actions/checkout@v2
- name: Setting up the environment
Expand Down Expand Up @@ -59,4 +64,4 @@ jobs:
npm_access_token: ${{secrets.NPM_AUTH_TOKEN}}
github_access_token: ${{secrets.G_AUTH_TOKEN}}
dry_run: true
debug: true
debug: true

0 comments on commit 0aae377

Please sign in to comment.