Skip to content

mattdavis0351/packet-create-project

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions for creating projects on Packet.com

Automate your infrastructure

This GitHub Action will create a new project on packet.com. Projects allow you to organize groups of resources and collaborators within your organization.

Creating projects

With this action you can automate your workflow by provisioning projects using the packet.com api.

To use this action you will first need an authentication token which can be generated through the Packet Portal.

Packet.com is NOT a free service, so you will be asked to provide billing information. This action will NOT have access to that information.

Sample workflow that uses the packet-create-project action

# File: .github/workflows/workflow.yml

on: [push]

name: Packet Project Sample

jobs:
  create-new-project:
    runs-on: ubuntu-latest
    name: Creating new packet project
    steps:
      - uses: mattdavis0351/packet-create-project@v1
        id: project
        with:
          API_key: ${{ secrets.PACKET_API_KEY }}
          org_name: My Packet org # if not supplied will use default org for API key
          project_name: My-new-packet-project

Available Inputs

Input Description Default Required
API_key Packet.com API authorization token No key supplied
org_name Organization to place new project in, uses default user org if not specified default
project_name Desired name for new project GitHub Actions

Outputs from action

This action supplies the following outputs which can be consumed by subsequent actions in the current job.

Output Description
project_id ID of the newly created project returned as a string
project_name Name of the newly created project returned as a string