Fix deploy and table.
Build and Deploy / build_and_deploy (push) Failing after 14s

This commit is contained in:
themixedupstuff committed 2026-11-17 00:17:38 +03:00
1 parent 1555a0fbb6
commit a642788a07
3 files changed
+41 -14

No files matched your search

+36 -12
View File
@@ -35,13 +35,39 @@ jobs:
libpango-1.0-0 \ libpango-1.0-0 \
libcairo2 \ libcairo2 \
libasound2 \ libasound2 \
libatspi2.0-0 libatspi2.0-0 \
rclone
- name: Install .NET Tools - name: Install .NET Tools
run: dotnet tool update -g docfx run: dotnet tool update -g docfx
- name: Add NuGet Sources - name: Add NuGet Sources
run: | 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 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 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: Configure WebDAV
env:
WEBDAV_USERNAME: ${{ vars.WEBDAV_USERNAME }}
WEBDAV_PASSWORD: ${{ secrets.WEBDAV_PASSWORD }}
WEBDAV_URL: ${{ vars.WEBDAV_URL }}
run: |
rclone config create webdav webdav \
url "$WEBDAV_URL" \
vendor other \
user "$WEBDAV_USERNAME" \
pass "$(rclone obscure "$WEBDAV_PASSWORD")"
- name: Pull Certs
env:
CLIENT_CERT: ${{ vars.WEBDAV_CLIENT_CERT }}
CLIENT_KEY: ${{ secrets.WEBDAV_CLIENT_KEY }}
CA_CERT: ${{ vars.WEBDAV_CA_CERT }}
run: |
mkdir -p "$RUNNER_TEMP/certs"
printf '%s' "$CLIENT_CERT" > "$RUNNER_TEMP/certs/client.crt"
printf '%s' "$CLIENT_KEY" > "$RUNNER_TEMP/certs/client.key"
printf '%s' "$CA_CERT" > "$RUNNER_TEMP/certs/ca.crt"
chmod 600 "$RUNNER_TEMP/certs/"*
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@@ -49,17 +75,15 @@ jobs:
token: ${{secrets.REFUEL_API_KEY}} token: ${{secrets.REFUEL_API_KEY}}
- name: Compile Web Pages - name: Compile Web Pages
run: $HOME/.dotnet/tools/docfx run: $HOME/.dotnet/tools/docfx
- name: SFTP Deploy - name: WebDAW Deploy
uses: wlixcc/SFTP-Deploy-Action@v1.2.5 env:
with: DESTINATION: ${{ vars.WEBDAV_PATH }}
username: '${{ vars.SSH_USER }}' run: |
server: '${{ vars.SSH_SERVER }}' rclone sync './out/refuel.mixedup.dev/' "webdav:$DESTINATION" \
port: '${{ vars.SSH_PORT }}' --client-cert "$RUNNER_TEMP/certs/client.crt" \
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} --client-key "$RUNNER_TEMP/certs/client.key" \
local_path: './_site/*' --verbose
remote_path: '${{ vars.DESTINATION }}'
sftpArgs: -o ConnectTimeout=10
rsyncArgs: --exclude=.*
- name: Clear Secrets - name: Clear Secrets
run: | run: |
dotnet nuget remove source ReFuel dotnet nuget remove source ReFuel
+4
View File
@@ -1,12 +1,16 @@
[submodule "src/ReFuel.StbImage"] [submodule "src/ReFuel.StbImage"]
path = src/ReFuel.StbImage path = src/ReFuel.StbImage
url = https://git.mixedup.dev/ReFuel/ReFuel.StbImage.git url = https://git.mixedup.dev/ReFuel/ReFuel.StbImage.git
branch = stable
[submodule "src/ReMime"] [submodule "src/ReMime"]
path = src/ReMime path = src/ReMime
url = https://git.mixedup.dev/ReFuel/ReMime.git url = https://git.mixedup.dev/ReFuel/ReMime.git
branch = master
[submodule "src/Dashboard"] [submodule "src/Dashboard"]
path = src/Dashboard path = src/Dashboard
url = https://git.mixedup.dev/ReFuel/Dashboard.git url = https://git.mixedup.dev/ReFuel/Dashboard.git
branch = dashboard2
[submodule "src/ReFuel"] [submodule "src/ReFuel"]
path = src/ReFuel path = src/ReFuel
url = https://git.mixedup.dev/ReFuel/ReFuel.git url = https://git.mixedup.dev/ReFuel/ReFuel.git
branch = work-dashboard2
+1 -2
View File
@@ -77,8 +77,7 @@ image.WriteJpg(stream, quality);
| Option | Description | | Option | Description |
|--------|-------------| |--------|-------------|
| `bool StbImage.FlipVerticallyOnLoad { set; }` | Flips the image vertically after loading. Practical for uses where a right handed coordinate system is used (e.g. OpenGL) | | `bool StbImage.FlipVerticallyOnLoad { set; }` | Flips the image vertically after loading. Practical for uses where a right handed coordinate system is used (e.g. OpenGL) |
| `bool StbImage.FlipVerticallyOnSave { set; }` | Similar to FlipVerticallyOnLoad, it will flip | `bool StbImage.FlipVerticallyOnSave { set; }` | Similar to FlipVerticallyOnLoad, it will flip the image vertically when writing. |
the image vertically when writing. |
| `bool StbImage.UnpremultiplyOnLoad { set; }` | Applies to Apple iPhone PNG images, where the image is sometimes encoded with premultiplied alpha. Reverses this premultiplication. | | `bool StbImage.UnpremultiplyOnLoad { set; }` | Applies to Apple iPhone PNG images, where the image is sometimes encoded with premultiplied alpha. Reverses this premultiplication. |
| `int StbImage.WriteForcePngFilter { get; set; }` | Forces a filter when writing PNG images. Must be -1 for auto, or 0 through 5, higher is more. See STBI documentation. | | `int StbImage.WriteForcePngFilter { get; set; }` | Forces a filter when writing PNG images. Must be -1 for auto, or 0 through 5, higher is more. See STBI documentation. |
| `int WritePngCompressionLevel { get; set; }` | Changes the PNG deflate compression level. Higher is more. Higher values take longer. 8 by default. | | `int WritePngCompressionLevel { get; set; }` | Changes the PNG deflate compression level. Higher is more. Higher values take longer. 8 by default. |