Skip to content

Commit

Permalink
Merge pull request #9 from dmca-glasgow/new-document-design
Browse files Browse the repository at this point in the history
New document design
  • Loading branch information
dmca-glasgow authored Oct 28, 2024
2 parents b902f79 + 96ccc08 commit d8e343f
Show file tree
Hide file tree
Showing 89 changed files with 5,583 additions and 1,556 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install dependencies (windows only)
if: matrix.platform == 'windows-latest'
shell: bash
env:
WINDOWS_SIGN_COMMAND: trusted-signing-cli -e https://weu.codesigning.azure.net/ -a ${{ secrets.AZURE_CODE_SIGNING_NAME }} -c ${{ secrets.AZURE_CERT_PROFILE_NAME }} %1
run: |
cd "$GITHUB_WORKSPACE"
cat './src-tauri/tauri.conf.json' | jq '.bundle .windows += {"signCommand": env.WINDOWS_SIGN_COMMAND}' > './src-tauri/temp.json' && mv './src-tauri/temp.json' './src-tauri/tauri.conf.json'
cargo install trusted-signing-cli
- name: install frontend dependencies
run: npm ci
- uses: tauri-apps/tauri-action@v0
Expand All @@ -91,6 +102,9 @@ jobs:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
AZURE_TENANT_ID: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ matrix.platform == 'windows-latest' && secrets.AZURE_CLIENT_SECRET }}
with:
releaseId: ${{ needs.create-release.outputs.release-id }}
args: ${{ matrix.args }}
Expand All @@ -110,7 +124,7 @@ jobs:
RELEASE_ID: ${{ needs.create-release.outputs.release-id }}

publish-docs:
needs: version-check
needs: [version-check, post-release]
if: needs.version-check.outputs.has-version-change == 'true'
runs-on: ubuntu-20.04
permissions:
Expand Down
27 changes: 12 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<!doctype html>
<html id="editor" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ISOS</title>
</head>
<body>
<!-- be sure to escape all backslashes: \ => \\ -->
<textarea id="article" style="display: none">



</textarea>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>ISOS</title>
</head>
<body>
<textarea id="article" style="display: none"> </textarea>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit d8e343f

Please sign in to comment.