Skip to content

Don't truncate discord_sender in the middle of a char boundary #168

Don't truncate discord_sender in the middle of a char boundary

Don't truncate discord_sender in the middle of a char boundary #168

Workflow file for this run

on:
push:
branches:
- master
name: Release
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
name: Build on ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- uses: docker/build-push-action@v6
with:
cache-from: type=gha
cache-to: type=gha
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Restart Pterodactyl Server
uses: fjogeleit/http-request-action@v1
with:
url: 'https://panel.kiwitechmc.com/api/client/servers/41fd740c/power'
method: POST
customHeaders: '{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer ${{ secrets.PTERODACTYL_UPDATE_KEY }}"}'
data: '{"signal":"restart"}'