forked from cerc-io/snowballtools-base
Compare commits
2 Commits
b9573474a8
...
f8ec0e3473
Author | SHA1 | Date | |
---|---|---|---|
|
f8ec0e3473 | ||
|
d4ed5bba8b |
36
.gitea/workflows/deploy-frontend.yaml
Normal file
36
.gitea/workflows/deploy-frontend.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: Deploy Snowball frontend
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up environment
|
||||||
|
run: |
|
||||||
|
# Create a config file with necessary endpoints and placeholders for secrets
|
||||||
|
cat > packages/deployer/config.yml <<EOF
|
||||||
|
services:
|
||||||
|
registry:
|
||||||
|
rpcEndpoint: https://laconicd-sapo.laconic.com
|
||||||
|
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
||||||
|
userKey: ${{ secrets.REGISTRY_USER_KEY }}
|
||||||
|
bondId: ${{ secrets.REGISTRY_BOND_ID }}
|
||||||
|
chainId: laconic-testnet-2
|
||||||
|
gasPrice: 0.001alnt
|
||||||
|
EOF
|
||||||
|
|
||||||
|
- name: Run Deploy Script
|
||||||
|
env:
|
||||||
|
REGISTRY_BOND_ID: ${{ secrets.REGISTRY_BOND_ID }}
|
||||||
|
DEPLOYER_LRN: ${{ secrets.DEPLOYER_LRN }}
|
||||||
|
AUTHORITY: ${{ secrets.AUTHORITY }}
|
||||||
|
run: |
|
||||||
|
./packages/deployer/deploy-frontend.sh
|
@ -4,5 +4,5 @@ services:
|
|||||||
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
||||||
userKey:
|
userKey:
|
||||||
bondId:
|
bondId:
|
||||||
chainId: laconic_9000-2
|
chainId: laconic-testnet-2
|
||||||
gasPrice: 1alnt
|
gasPrice: 0.001alnt
|
||||||
|
Loading…
Reference in New Issue
Block a user