Skip to content

Commit

Permalink
Merge pull request #8 from rootiest/dev
Browse files Browse the repository at this point in the history
Workflow Fixes
  • Loading branch information
rootiest authored Jun 7, 2023
2 parents 92e3448 + 9c796c1 commit 6669325
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/md_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
name: Check Links

on:
push:
push:

jobs:
markdown-link-check:
name: Check markdown files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Markdown links check
uses: ruzickap/action-my-markdown-link-checker@v1
markdown-link-check:
name: Check markdown files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Markdown links check
uses: ruzickap/action-my-markdown-link-checker@v1
11 changes: 11 additions & 0 deletions .github/workflows/md_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint MarkDown

on: [push]

jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: "articulate/actions-markdownlint@v1"
with:
config: "markdownlint.json"
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ name: Publish Release

on:
push:
branches:
- "master"
tags:
- "v*"

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
# ...
- name: ${{ github.event.head_commit.message }}
run: |
echo "done!"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "latest"
title: ${{ github.event.head_commit.message }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "latest"
title: ${{ github.event.head_commit.message }}
16 changes: 16 additions & 0 deletions .github/workflows/release_discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
release:
types: [published]
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Github Releases To Discord
uses: sillyangel/[email protected]
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "2105893"
username: "PrintCFG Releases"
avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"

0 comments on commit 6669325

Please sign in to comment.