feat: Add release_bazel_differ (#636) #320
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for debugging https://github.com/marketplace/actions/debugging-with-tmate | |
name: Deploy | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- "provisioner/version.txt" | |
# Add in all the .github files to the data attribute, | |
# so if the github workflows change then we re-run the deployment | |
- ".github/**" | |
jobs: | |
deploy-provisioner: | |
name: Deploy Provisioner | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
environment: provisioner | |
concurrency: deploy-provisioner | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-bazel | |
with: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.ONEPASSWORD_SERVICE_ACCOUNT_TOKEN_PROD }} | |
- run: bazel run --config buildbuddy --config buildbuddy_rbe //provisioner:deploy | |
env: | |
ONEPASSWORD_SERVICE_ACCOUNT_TOKEN_PROD: ${{ secrets.ONEPASSWORD_SERVICE_ACCOUNT_TOKEN_PROD }} |