Skip to content

Commit

Permalink
improve github workflow clear message in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Jul 16, 2024
1 parent a6dc3fd commit 4db3095
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod-mainnet-devhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
deploy-widgets:
runs-on: ubuntu-latest
name: Deploy ( or diff from PR )
name: Deploy ( or diff from PR ) - Devhub
env:
NEAR_SOCIAL_DEPLOY_ID: ${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}
NEAR_SOCIAL_ACCOUNT_ID: ${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-prod-mainnet-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
deploy-widgets:
runs-on: ubuntu-latest
name: Deploy ( or diff from PR )
name: Deploy ( or diff from PR ) - Events
env:
NEAR_SOCIAL_DEPLOY_ID: ${{ vars.NEAR_EVENTS_SOCIAL_ACCOUNT_ID }}
NEAR_SOCIAL_ACCOUNT_ID: ${{ vars.NEAR_EVENTS_SOCIAL_ACCOUNT_ID }}
Expand All @@ -15,7 +15,7 @@ jobs:
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
defaults:
run:
working-directory: ./instances/infrastructure-committee.near
working-directory: ./instances/events-committee.near
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -42,8 +42,8 @@ jobs:
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
echo "on branch $BRANCH"
if [[ "$BRANCH" != "main" ]]; then
echo "Not on main branch, dry run by diff with infrastructure-committee.near"
bos components diff infrastructure-committee.near network-config mainnet
echo "Not on main branch, dry run by diff with events-committee.near"
bos components diff events-committee.near network-config mainnet
else
bos components deploy "$NEAR_EVENTS_SOCIAL_DEPLOY_ID" sign-as "$NEAR_EVENTS_SOCIAL_ACCOUNT_ID" network-config mainnet sign-with-plaintext-private-key --signer-public-key "$NEAR_EVENTS_SOCIAL_ACCOUNT_PUBLIC_KEY" --signer-private-key "$NEAR_EVENTS_SOCIAL_ACCOUNT_PRIVATE_KEY" send
fi
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod-mainnet-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
deploy-widgets:
runs-on: ubuntu-latest
name: Deploy ( or diff from PR )
name: Deploy ( or diff from PR ) - Infrastructure
env:
NEAR_SOCIAL_DEPLOY_ID: ${{ vars.NEAR_INFRA_SOCIAL_ACCOUNT_ID }}
NEAR_SOCIAL_ACCOUNT_ID: ${{ vars.NEAR_INFRA_SOCIAL_ACCOUNT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"url": "https://github.com/near/neardevhub-widgets/issues"
},
"homepage": "https://github.com/near/neardevhub-widgets#readme"
}
}

0 comments on commit 4db3095

Please sign in to comment.