Compare commits
12 Commits
9a5ee6153e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e81f3261fb | |||
| b82f5dfe5e | |||
| 16de4424d0 | |||
| 5936c41742 | |||
| 018ffbf1e6 | |||
| e09ecd496b | |||
| 881b1bc02a | |||
| b16c61773f | |||
| 6b446ffb29 | |||
| 96f078f51e | |||
| 386b07d1b8 | |||
| 9592f4f8e4 |
@@ -10,14 +10,45 @@ jobs:
|
||||
container:
|
||||
image: mcr.microsoft.com/devcontainers/dotnet
|
||||
steps:
|
||||
- name: Install prerequisites
|
||||
- name: Install APT dependencies
|
||||
run: |
|
||||
apt update -y && apt install -y \
|
||||
git \
|
||||
nodejs \
|
||||
libglib2.0-0 \
|
||||
libnss3 \
|
||||
libnspr4 \
|
||||
libdbus-1-3 \
|
||||
libatk1.0-0 \
|
||||
libatk-bridge2.0-0 \
|
||||
libcups2 \
|
||||
libdrm2 \
|
||||
libxcb1 \
|
||||
libxkbcommon0 \
|
||||
libx11-6 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxext6 \
|
||||
libxfixes3 \
|
||||
libxrandr2 \
|
||||
libgbm1 \
|
||||
libpango-1.0-0 \
|
||||
libcairo2 \
|
||||
libasound2 \
|
||||
libatspi2.0-0
|
||||
- name: Install .NET Tools
|
||||
run: dotnet tool update -g docfx
|
||||
- name: Add NuGet Sources
|
||||
run: |
|
||||
dotnet nuget add source -n ReFuel -u ${{vars.NUGET_USER_NAME}} -p ${{secrets.REFUEL_API_KEY}} --store-password-in-clear-text ${{vars.NUGET_INDEX}}
|
||||
dotnet nuget add source -n CallumDev -u ${{ vars.GH_USERNAME }} -p ${{ secrets.GH_API_KEY }} --store-password-in-clear-text https://nuget.pkg.github.com/CallumDev/index.json
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
token: ${{secrets.REFUEL_API_KEY}}
|
||||
- name: Compile Web Pages
|
||||
run: docfx
|
||||
run: $HOME/.dotnet/tools/docfx
|
||||
- name: SFTP Deploy
|
||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
||||
with:
|
||||
@@ -29,3 +60,7 @@ jobs:
|
||||
remote_path: '${{ vars.DESTINATION }}'
|
||||
sftpArgs: -o ConnectTimeout=10
|
||||
rsyncArgs: --exclude=.*
|
||||
- name: Clear Secrets
|
||||
run: |
|
||||
dotnet nuget remove source ReFuel
|
||||
dotnet nuget remove source CallumDev
|
||||
38
docfx.json
38
docfx.json
@@ -3,19 +3,49 @@
|
||||
{
|
||||
"src": [
|
||||
{
|
||||
"src": "src",
|
||||
"src": "src/Dashboard",
|
||||
"files": [
|
||||
"**/*.csproj",
|
||||
"**/bin/Release/*.dll"
|
||||
"**/bin/Release/**.dll"
|
||||
],
|
||||
"exclude": [
|
||||
"ReMime/ReMime.Tests/**"
|
||||
"tests/**",
|
||||
"lib/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
"src": "src/ReFuel",
|
||||
"files": [
|
||||
"**/*.csproj",
|
||||
"**/bin/Release/**.dll"
|
||||
],
|
||||
"exclude": [
|
||||
"tests/**",
|
||||
"lib/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
"src": "src/ReFuel.StbImage",
|
||||
"files": [
|
||||
"**/*.csproj",
|
||||
"**/bin/Release/**.dll"
|
||||
]
|
||||
},
|
||||
{
|
||||
"src": "src/ReMime",
|
||||
"files": [
|
||||
"**/*.csproj",
|
||||
"**/bin/Release/**.dll"
|
||||
],
|
||||
"exclude":[
|
||||
"ReMime.Tests/**",
|
||||
"ReMime.ReFile/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"dest": "api",
|
||||
"properties": {
|
||||
"TargetFramework": "net6.0"
|
||||
"TargetFramework": "net8.0"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Submodule src/Dashboard updated: dadd9f137a...49257574f4
Submodule src/ReFuel updated: d34c0c017f...7de1910e9e
Submodule src/ReFuel.StbImage updated: bcd82900c7...b7983c96b2
Submodule src/ReMime updated: 6d192adce7...428c94d0af
Reference in New Issue
Block a user