Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Sep 29, 2024
1 parent 0843724 commit 1ad2903
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3,424 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,15 @@ 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
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,15 @@ 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
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,15 @@ 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
Expand Down
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 1ad2903

Please sign in to comment.