Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from froi/froi-actions
Browse files Browse the repository at this point in the history
Action workflow initial commit
  • Loading branch information
Froilan Irizarry authored Aug 14, 2019
2 parents 80a5de7 + 7b58de1 commit 866caa5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
workflow "Deploy to NPM" {
on = "release"
resolves = [
"Publish to npm",
"Publish to GPR",
]
}

action "Publish to npm" {
uses = "actions/npm@master"
secrets = ["NPM_AUTH_TOKEN"]
args = "publish --accee-public"
}

action "Publish to GPR" {
uses = "actions/npm@master"
secrets = ["GITHUB_TOKEN"]
args = "publish"
env = {
NPM_REGISTRY_URL = "https://npm.pkg.github.com/"
}
}

0 comments on commit 866caa5

Please sign in to comment.