33 lines
807 B
YAML
33 lines
807 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
on: [push]
|
|
|
|
jobs:
|
|
Doxygen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install Doxygen
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y doxygen
|
|
|
|
- name: Generate Doxygen Documentation
|
|
run: |
|
|
doxygen Doxyfile
|
|
|
|
- name: Execute Pterodactyl Power Action
|
|
uses: thijskamphuis/pte-power@main
|
|
with:
|
|
PANEL_URL: "https://pte.nucs.me"
|
|
API_KEY: ${{ secrets.PTERODACTYL_API_KEY }}
|
|
SERVER_ID: ${{ secrets.PTERODACTYL_SERVER_ID }}
|
|
POWER_ACTION: "RESTART"
|