Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinariusprof committed Jun 13, 2024
1 parent ba3b51b commit 4255be8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to Dev
if: github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/main'
run: |
curl -f \
-X POST \
Expand All @@ -65,7 +65,7 @@ jobs:
https://api.github.com/repos/ordinalsbot/infra/dispatches
- name: Deploy to Testnet
if: github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/main'
run: |
curl -f \
-X POST \
Expand All @@ -74,6 +74,16 @@ jobs:
--data '{"event_type": "deploy-testnet-public"}' \
https://api.github.com/repos/ordinalsbot/infra/dispatches
- name: Deploy to Signet
if: github.ref == 'refs/heads/main'
run: |
curl -f \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer ${{ secrets.ACTIONS_GITHUB_PAT_DANIEL }}" \
--data '{"event_type": "deploy-signet-public"}' \
https://api.github.com/repos/ordinalsbot/infra/dispatches
- name: Deploy to Staging
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
run: |
Expand Down

0 comments on commit 4255be8

Please sign in to comment.