Skip to content

Commit

Permalink
Fix CI (#434)
Browse files Browse the repository at this point in the history
* Test

* Test

* Update CI

* Fix CI
  • Loading branch information
fewensa authored Sep 29, 2024
1 parent 532c401 commit 6625773
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 3,427 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Prepare Project Config
run: |
mv vercel.json build/
mv api build/
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: home
alias_domain: "darwinia-home-dev"
script_run: false
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_channel: public-ringdao-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

19 changes: 2 additions & 17 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Prepare Project Config
run: |
mv vercel.json build/
mv api build/
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: home
prod_mode: true
script_run: false
enable_cache: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_channel: public-ringdao-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
19 changes: 2 additions & 17 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Prepare Project Config
run: |
mv vercel.json build/
mv api build/
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
node_version: 20
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: home
alias_domain: "darwinia-home-stg"
script_run: false
enable_cache: true
enable_notify_slack: true
slack_channel: public-darwinia-websites-apps
slack_channel: public-ringdao-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
2 changes: 0 additions & 2 deletions api/.gitignore

This file was deleted.

Binary file removed api/Roboto-Regular.ttf
Binary file not shown.
124 changes: 0 additions & 124 deletions api/image.ts

This file was deleted.

Loading

0 comments on commit 6625773

Please sign in to comment.