GithubHelp home page GithubHelp logo

epicgame12414 / deployctl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denoland/deployctl

0.0 0.0 0.0 1.94 MB

Command line tool for Deno Deploy

Home Page: https://deno.com/deploy

License: MIT License

JavaScript 75.87% TypeScript 24.13%

deployctl's Introduction

deployctl

deployctl is the command line tool for Deno Deploy. This repository also contains the denoland/deployctl GitHub Action.

Install

deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts

Usage

Before being able to deploy, you need to get a personal access token from the Deno Deploy access token page. Store this token in a DENO_DEPLOY_TOKEN environment variable, or pass it to deployctl with the --token flag.

deployctl deploy --project=hello-world ./examples/hello.ts

View the help:

deployctl -h

Action Example

name: Deploy

on: push

jobs:
  deploy:
    runs-on: ubuntu-latest

    permissions:
      id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.
      contents: read

    steps:
      - name: Clone repository
        uses: actions/checkout@v3

      - name: Deploy to Deno Deploy
        uses: denoland/deployctl@v1
        with:
          project: my-project # the name of the project on Deno Deploy
          entrypoint: main.ts # the entrypoint to deploy

To learn more about the action, checkout action readme.

deployctl's People

Contributors

lucacasonato avatar satyarohith avatar kt3k avatar yeskunall avatar uki00a avatar rojvv avatar rolitoxdd avatar xdrdak avatar wperron avatar lowlighter avatar ry avatar lino-levan avatar ultirequiem avatar piscisaureus avatar ayoreis avatar alexisbouchez avatar alexxnica 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.