Skip to content

Commit

Permalink
fix: Inject 1Password secret for provisioner deploy (#631)
Browse files Browse the repository at this point in the history
* Increase timeout linting
  • Loading branch information
mvgijssel authored Dec 22, 2023
1 parent 5e9dc97 commit 0b2ed35
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/provisioner-thirty-nails-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"provisioner": patch
---

fix: Inject 1Password secret for provisioner deploy
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ jobs:
uses: actions/checkout@v4
- uses: ./.github/actions/setup-bazel
- run: bazel run //provisioner:deploy
env:
ONEPASSWORD_SERVICE_ACCOUNT_TOKEN_PROD: ${{ secrets.ONEPASSWORD_SERVICE_ACCOUNT_TOKEN_PROD }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

lint:
name: Lint
timeout-minutes: 10
timeout-minutes: 20
runs-on: macos-latest
steps:
# # https://docs.github.com/en/actions/learn-github-actions/contexts
Expand Down
4 changes: 1 addition & 3 deletions provisioner/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ task(
cwd = "$BUILD_WORKSPACE_DIRECTORY",
# Add in all the .github files to the data attribute,
# so if the github workflows change then we re-run the deployment
data = [
"//:.github",
],
data = glob([".github/**"]),
env = {
"SETUP_ENV": "prod",
},
Expand Down

0 comments on commit 0b2ed35

Please sign in to comment.