mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-28 11:54:57 +00:00
22 lines
616 B
YAML
22 lines
616 B
YAML
name: Build Non-Release Branch
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- feature/*
|
|
- bugfix/*
|
|
- hotfix/*
|
|
- release/*
|
|
- development
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: self-hosted
|
|
steps:
|
|
- run: Invoke-WebRequest -URI "http://localhost:8080/job/Essentials%20Builds/build?token=$($Env:projectToken)" -Headers @{Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("ndorin:$($Env:token)")))"} -Method POST -UseBasicParsing
|
|
env:
|
|
token: ${{ secrets.TOKEN }}
|
|
projectToken: ${{ secrets.PROJECTTOKEN}}
|