GithubHelp home page GithubHelp logo

ptero-gitsync's Introduction

ptero-gitsync

ptero-gitsync is a GitHub Action for synchronizing a GitHub repository with a Pterodactyl® Panel server.

Note: ptero-gitsync is not affiliated with the Pterodactyl® Project.

Usage

name: Sync with Panel

on:
  push:
    branches:
      - master

jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - uses: hwalker928/[email protected]
        with:
          panel-url: ${{ secrets.PANEL_URL }}
          api-key: ${{ secrets.API_KEY }}
          server-id: ${{ secrets.SERVER_ID }}

Getting Started

  1. Setup GitHub support for your Bot Hosting server, please check with your hosting provider for more information, however this is typically done via the Startup tab.
  2. Create an API key for your account, which can be done via /account/api.
  3. Add 3 secrets to your repository, PANEL_URL, API_KEY, and SERVER_ID. You can do this on GitHub via the Settings tab, then Secrets, then Actions. The PANEL_URL is the URL to your panel, the API_KEY is the API key you created in step 2, and the SERVER_ID is the ID of the server you want to sync with, which can be found in the URL of your server's console: /server/{id}.
  4. Add the above workflow to your repository (/.github/workflows/my_workflow.yml), and push to master (if using a different branch, ensure to update the workflow).

ptero-gitsync's People

Contributors

hwalker928 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cosmii02

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.