Skip to content
forked from lyj0309/nezha-fly

部署哪吒面板到fly.io

Notifications You must be signed in to change notification settings

zzzqu/nezha-fly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nezha-fly

部署哪吒面板到fly.io

原理

通过基于原哪吒面板的docker镜像,在此基础上自动添加config文件,其中config文件在github secrets中

两个secrets CONFIG: 哪吒面板配置文件 FLY_API_TOKEN: fly的api token

第一次部署

  1. 需要把action中的if: ${{ env.new_release == 'yes' }}注释掉,部署成功之后再注回来
      - name: deploy
        if: ${{ env.new_release == 'yes'  }}
        run: |
          echo '${{ secrets.CONFIG }}' > ./config.yaml && ls
          flyctl deploy --remote-only
  1. 需要先运行fly launch创建一个app,名字填fly.toml里面的, 我的是fakev-status可以改,但需要保持一样

展示网址 (https://status.fakev.cn

About

部署哪吒面板到fly.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.3%
  • Dockerfile 37.7%