iT邦幫忙

2023 iThome 鐵人賽

DAY 25
0
language: node_js
node_js:
  - 14

cache:
  directories:
    - node_modules

jobs:
  include:
    - stage: Build and Test
      script:
        - npm install
        - npm test

    - stage: Deploy to Production
      if: branch = main
      script:
        - npm install -g heroku
        - heroku login -i
        - heroku git:remote -a your-heroku-app-name
        - git push heroku main

notifications:
  slack:
    rooms:
      - your-slack-room
    on_success: always
    on_failure: always
  email:
    recipients:
      - your-email@example.com
    on_success: always
    on_failure: always


上一篇
<DAY24>
下一篇
<DAY26>
系列文
擱淺中掙扎29
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言