Skip to content

Commit

Permalink
Try and enable CI release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Aug 28, 2024
1 parent 0bd3e09 commit e9a46c3
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: babylonchain/babylon-contract/deploy-WIP
name: babylonchain/babylon-contract/deploy
on:
push:
branches: [ "disabled" ]
pull_request:
branches: [ "disabled" ]
branches:
- '^v[0-9]+\.[0-9]+\.[0-9]+.*'
- 'fix/ci-github-actions-3'
env:
AWS_ACCESS_KEY_ID: xxxxYKF5
AWS_REGION: xxxxst-1
AWS_SECRET_ACCESS_KEY: xxxxmvcn
DEPLOY_KEY_NAME: xxxxc068
GITHUB_TOKEN: xxxxFyIu
S3_BUCKET_PREFIX: xxxxract
CARGO_TERM_COLOR: always
WORKSPACE: "/home/runner/work/babylon-contract/babylon-contract"
jobs:
build_and_upload_contracts:
defaults:
run:
working-directory: "/__w/babylon-contract/babylon-contract"
working-directory: "$WORKSPACE"
runs-on: ubuntu-latest
container:
image: rust:1.78.0
steps:
- uses: actions/[email protected]
with:
path: "/__w/babylon-contract/babylon-contract"
- name: Make temporary bin
run: mkdir -p /tmp/bin
- name: Install ghr
Expand All @@ -32,9 +24,9 @@ jobs:
- uses: actions/[email protected]
with:
path: |-
/__w/babylon-contract/babylon-contract/artifacts/babylon_contract.wasm
/__w/babylon-contract/babylon-contract/artifacts/btc_staking.wasm
/__w/babylon-contract/babylon-contract/artifacts/checksums.txt
artifacts/babylon_contract.wasm
artifacts/btc_staking.wasm
artifacts/checksums.txt
- name: Show data
run: |-
ls -l artifacts
Expand All @@ -53,14 +45,10 @@ jobs:
build_and_upload_schemas:
defaults:
run:
working-directory: "/__w/babylon-contract/babylon-contract"
working-directory: "$WORKSPACE"
runs-on: ubuntu-latest
container:
image: rust:1.78.0
steps:
- uses: actions/[email protected]
with:
path: "/__w/babylon-contract/babylon-contract"
- name: Make temporary bin
run: mkdir -p /tmp/bin
- name: Install ghr
Expand Down

0 comments on commit e9a46c3

Please sign in to comment.