Skip to content

Commit

Permalink
Merge pull request #132 from nwesterhausen/actions-changes-2
Browse files Browse the repository at this point in the history
ci: 💚 change ci action names and add badges to Readme
  • Loading branch information
nwesterhausen authored Nov 8, 2022
2 parents 5785a0a + 3cac636 commit b0bbcf1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 29 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: "Upload Docs to Azure Blob Storage"
on:
push:
branches:
name: "Docs Build & Publish"
on:
push:
branches:
- main
- feature/documentation-site

jobs:
Build-Publish_Documentation:
jobs:
Build-Publish_Documentation:
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v3
# Build
- uses: Tiryoh/actions-mkdocs@v0
with:
requirements: 'docs/.requirements.txt'
requirements: "docs/.requirements.txt"
# Upload
- uses: bacongobbler/azure-blob-storage-upload@main
with:
- uses: bacongobbler/azure-blob-storage-upload@v1.2.0
with:
container_name: $web
extra_args: "--destination-path discordconnector.valheim.nwest.games/ --overwrite"
connection_string: "${{ secrets.AZURE_CONNECTION_STRING }}"
source_dir: bin/mkdocs
sync: true

25 changes: 12 additions & 13 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
name: .NET
name: Build

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main, dev ]
branches: [main, dev]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Publish Thunderstore
on:
push:
tags:
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Discord Connector

[![CodeQL](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/codeql-analysis.yml)
[![Docs](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/docs.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/docs.yml)
[![Build](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/dotnet.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/dotnet.yml)
[![Publish](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/publish.yml/badge.svg)](https://github.com/nwesterhausen/valheim-discordconnector/actions/workflows/publish.yml)

Connect your Valheim server to Discord. ([See website for installation or configuration instructions](https://discordconnector.valheim.nwest.games/)). This plugin is largely based on [valheim-discord-notifier](https://github.com/aequasi/valheim-discord-notifier), but this plugin supports randomized messages, muting players, and Discord message embeds.

Plugin available on [Thunderstore.io](https://valheim.thunderstore.io/package/nwesterhausen/DiscordConnector/), [NexusMods](https://www.nexusmods.com/valheim/mods/1551/), and [Mod Vault](https://modvault.xyz/viewmod/132).

### Plugin Details
## Plugin Details

See [the README](Metadata/README.md) for the plugin.

### Changelog
## Changelog

See [the changelog](Metadata/CHANGELOG.md).

Expand All @@ -32,7 +37,7 @@ The compiled plugin will be in a zip ready for upload at `bin/DiscordConnector.z

For JSON serialization, using Newtonsoft.Json

For data storage/retrieval using [LiteDB](https://www.litedb.org/)
For data storage/retrieval using [LiteDB](https://www.litedb.org/)
(If you want to read the database file generated, you can use [LitDB Studio](https://github.com/mbdavid/LiteDB.Studio/releases/latest))

### Contributors
Expand All @@ -43,4 +48,4 @@ Thanks for the helpful contributions!
- @nwesterhausen
- @thedefside

Thanks for an excellent original plugin @aequasi!
Thanks for an excellent original plugin @aequasi!

0 comments on commit b0bbcf1

Please sign in to comment.