GithubHelp home page GithubHelp logo

circleci-deploy's Introduction

circleci-deploy

https://github.com/3Kmfi6HP/argo-airport-paas

部署成功示例

image

每10分钟会自动停止,重新部署方法。

使用方法

Dashboard --> https://app.circleci.com/pipelines/gh/名字/仓库名称 --> Project Settings --> Triggers --> Add Trigger --> Repeats Per Hour* 设置 10min

# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
  test:
    # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
    # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
    docker:
      - image: ghcr.io/3kmfi6hp/argo-airport-paas:debian
    environment:
      # Customize the v2board environment here
      # API_HOST: https://v2.circleci-dev.example.com
      # API_KEY: xxxx
      # NODE_ID: 55
      # Customize the argo environment here
      ARGO_DOMAIN: circleci-dev.example.com
      ARGO_AUTH: xxx
      TUNNEL_TRANSPORT_PROTOCOL: http2
      # Customize the nezha environment here
      # NEZHA_KEY: xxxx
      # NEZHA_PORT: 555
      # NEZHA_SERVER: nz-circleci-dev.example.com
    # Add steps to the job
    # See: https://circleci.com/docs/2.0/configuration-reference/#steps
    working_directory: /app
    steps:
      - run:
          name: Run service
          command: node server.js & pm2 logs
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
  orb-free-workflow:
    jobs:
      - test

circleci-deploy's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.