Skip to content

Commit

Permalink
Test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed May 29, 2024
1 parent cfc7307 commit 0dd164a
Showing 1 changed file with 49 additions and 34 deletions.
83 changes: 49 additions & 34 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,54 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v3
with:
repository: darwinia-network/devops
path: .github
# - uses: actions/checkout@v3
# with:
# repository: darwinia-network/devops
# path: .github
#
# - uses: ./.github/actions/smart-vercel
# name: Deploy Helix (mainnet)
# with:
# node_version: 20
# vercel_token: ${{ secrets.VERCEL_TOKEN }}
# vercel_group: itering
# preview_output: true
# alias_domain: "helix-stg-mainnet"
# project_name: "helix-apps"
# script_install: npm i
# script_build: npm run build:mainnet
# dist_path: dist
# enable_notify_slack: true
# slack_channel: helix-ui
# slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
#
# - uses: ./.github/actions/smart-vercel
# name: Deploy Helix (testnet)
# with:
# node_version: 20
# vercel_token: ${{ secrets.VERCEL_TOKEN }}
# vercel_group: itering
# preview_output: true
# alias_domain: "helix-stg-testnet"
# project_name: "helix-apps-test"
# script_install: npm i
# script_build: npm run build:testnet
# dist_path: dist
# enable_notify_slack: true
# slack_channel: helix-ui
# slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

- uses: ./.github/actions/smart-vercel
name: Deploy Helix (mainnet)
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
alias_domain: "helix-stg-mainnet"
project_name: "helix-apps"
script_install: npm i
script_build: npm run build:mainnet
dist_path: dist
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
- name: Publish ipfs
env:
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }}
run: |
npm i -g @fleekxyz/cli
fleek projects switch --id=clwordxrq0003igm26h2r52n1
npm i
npm run build:mainnet
mv fleek.config.json dist
cd dist
fleek sites deploy
- uses: ./.github/actions/smart-vercel
name: Deploy Helix (testnet)
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
alias_domain: "helix-stg-testnet"
project_name: "helix-apps-test"
script_install: npm i
script_build: npm run build:testnet
dist_path: dist
enable_notify_slack: true
slack_channel: helix-ui
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

0 comments on commit 0dd164a

Please sign in to comment.