-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from nwesterhausen/actions-changes-2
ci: 💚 change ci action names and add badges to Readme
- Loading branch information
Showing
4 changed files
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Publish | ||
name: Publish Thunderstore | ||
on: | ||
push: | ||
tags: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters