GithubHelp home page GithubHelp logo

jungaretti / bacon-deploy-action Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 43 KB

GitHub Action that deploys your DNS records with Bacon

Home Page: https://github.com/marketplace/actions/deploy-with-bacon

License: GNU General Public License v3.0

deployment dns bacon

bacon-deploy-action's Introduction

Bacon Deploy Action

Deploy DNS records to Porkbun with Bacon and GitHub Actions.

Usage

Sign into Porkbun's website and generate a new API keyset for your account. Read the "Generating API Keys" section of Porkbun's docs for more detailed instructions. Be sure to enable API access for the domain(s) that you would like to manage with Bacon.

Create encrypted repository secrets to store your Porkbun API keys and pass them to this action using ${{ secrets.YOUR_SECRET_NAME }}.

Example

on:
  push:
    branches:
      - main

jobs:
  deploy:
    name: Deploy DNS Records
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: jungaretti/bacon-deploy-action@v1
        with:
          api-key: ${{ secrets.PORKBUN_API_KEY }}
          secret-key: ${{ secrets.PORKBUN_SECRET_KEY }}
          config: example-com.yml
          create: true
          delete: true

See jungaretti/dns for a more detailed example.

Inputs

Required

These inputs are required to use this action. You must provide them in your workflow file.

api-key

Your Porkbun API key. This input is required.

secret-key

Your Porkbun API secret key. This input is required.

config

Path of a Bacon config file to deploy. This input is required.

Optional

These inputs are optional and have default values.

create

Flag to disable dry-run creations and create new records. The default value is false.

delete

Flag to disable dry-run deletions and delete outdated records. The default value is false.

version

The version of Bacon to download and use. The default value is latest. To use a specific release of Bacon, choose from the releases on jungaretti/bacon and use the full tag name (e.g. v1.2) as the value for this input.

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.