Giter Site home page Giter Site logo

github-to-cos's Introduction

github-to-cos

使用方法:

一、腾讯云配置桶

  • 1、腾讯云创建COS存储桶, 访问权限选择: 公有读私有写。例如区域广州(REGION): ap-guangzhou, 桶名(BUCKET): jd-xxxxxx。
  • 2、获取桶API访问密钥: 右上角个人-访问管理-访问密钥-API密钥管理。如果第一次创建, 点击新建密钥 获取到 SECRET_ID 和 SECRET_KEY

二、Actions配置

  • 1、fork项目
  • 2、启用actions: Settings中点击Actions, 勾选Allow all actions启用actions
  • 2、配置Secret: Settings点击Secrets, New repository secret, 分别填写key和value
key value
SECRET_ID AKID**********
SECRET_KEY hk*******
REGION ap-guangzhou
BUCKET jd-xxxxx

三、触发运行

  • 1、定时器每4小时跑,有需要自己更改,不建议太频繁
  • 2、手动运行,随便编辑一下文件提交可以触发运行

github-to-cos's People

Contributors

nianyuguai avatar

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.