Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
imbhargav5 committed Jan 20, 2019
1 parent 3388a6e commit 2712571
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ workflow "Deploy on Now" {
# Deploy, and write deployment to file
action "deploy" {
uses = "actions/zeit-now@master"
args = "packages/website --team react-hooks"
args = "deploy packages/website --team react-hooks"
secrets = ["ZEIT_TOKEN"]
}

# Always create an alias using the SHA
action "alias" {
needs = "deploy"
uses = "actions/zeit-now@master"
args = "alias `cat /github/home/deploy.txt` $GITHUB_SHA"
args = "alias --team react-hooks `cat /github/home/deploy.txt` $GITHUB_SHA"
secrets = ["ZEIT_TOKEN"]
}

Expand All @@ -30,5 +30,5 @@ action "release" {
needs = "master-branch-filter"
uses = "actions/zeit-now@master"
secrets = ["ZEIT_TOKEN"]
args = "alias --local-config=./packages/website/now.json"
args = "alias --team react-hooks --local-config=./packages/website/now.json"
}

0 comments on commit 2712571

Please sign in to comment.