-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that the button is deployed, these are just causing noise when they flake out. In the future, we probably should archive all of the button code into a separate repo.
- Loading branch information
Showing
4 changed files
with
42 additions
and
140 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Deploys button to testnet on push to main branch | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
deploy: | ||
description: Deploy the button contracts to devnet and trigger services update | ||
required: false | ||
default: false | ||
type: boolean | ||
|
||
jobs: | ||
check-vars-and-secrets: | ||
name: Check vars and secrets | ||
uses: ./.github/workflows/_check-vars-and-secrets.yml | ||
secrets: inherit | ||
|
||
deploy-button: | ||
if: inputs.deploy == true | ||
name: Deploy the button contracts to devnet and trigger services update | ||
needs: [check-vars-and-secrets] | ||
uses: ./.github/workflows/contracts-deploy.yml | ||
secrets: inherit | ||
|
||
send-slack-notification: | ||
name: Send Slack notification about workflow status | ||
runs-on: ubuntu-20.04 | ||
needs: [deploy-button] | ||
if: always() | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Send Slack message | ||
uses: ./.github/actions/slack-notification | ||
with: | ||
notify-on: "failure" | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_TRACK_APPLICATIONS }} |
This file was deleted.
Oops, something went wrong.
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
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