Skip to content

Commit

Permalink
Update GitHub pages with actual content
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Oct 24, 2024
1 parent 17df631 commit 2437979
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/flatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ jobs:
com.jetbrains.PhpStorm.json
arch: ${{ matrix.arch }}
gpg-sign: ${{ steps.gpg.outputs.fingerprint }}
upload-bundles: true
upload-pages-artifact: ${{ matrix.arch == 'aarch64' }}
flatpak-builder-args: |
--install-deps-from=flathub
upload-bundles: true
upload-pages-artifact: ${{ matrix.arch == 'aarch64' }}
upload-pages-includes: |
flatter/base.css
flatter/default.css
flatter/index.html
deploy:
name: Deploy to GitHub Pages
Expand Down
4 changes: 2 additions & 2 deletions flatter/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ footer {
}

footer a {
text-decoration: none;
text-decoration: underline;
}

footer a:hover {
text-decoration: underline;
text-decoration: none;
}


Expand Down
63 changes: 29 additions & 34 deletions flatter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<!-- Meta -->
<title>Flatter</title>
<meta name="title" content="Flatter"/>
<meta name="description" content="Build and host a nightly Flatpak repository."/>
<meta itemprop="name" content="Flatter"/>
<meta itemprop="description" content="Build and host a nightly Flatpak repository."/>
<title>PhpStorm 2023.2.7 on Flatter</title>
<meta name="title" content="PhpStorm 2023.2.7 on Flatter"/>
<meta name="description" content="Install PhpStorm 2023.2.7 using a Flatter Flatpak repository."/>
<meta itemprop="name" content="PhpStorm 2023.2.7 on Flatter"/>
<meta itemprop="description" content="Install PhpStorm 2023.2.7 using a Flatter Flatpak repository."/>

<meta name="viewport" content="width=device-width"/>

<!-- Open Graph -->
<meta property="og:title" content="Flatter"/>
<meta property="og:description" content="Build and host a nightly Flatpak repository."/>
<meta property="og:title" content="PhpStorm 2023.2.7 on Flatter"/>
<meta property="og:description" content="Install PhpStorm 2023.2.7 using a Flatter Flatpak repository."/>
<meta property="og:locale" content="en"/>

<link rel="stylesheet" type="text/css" href="default.css" media="screen"/>
Expand All @@ -34,55 +34,50 @@ <h1 id="logo" class="content">
</header>

<section id="description">
<h2>Build and host a Flatpak repository</h2>
<h2>PhpStorm 2023.2.7</h2>
<p class="content">
<a href="https://github.com/andyholmes/flatter">Flatter</a> is a GitHub
Action for building and hosting a Flatpak repository in a static hosting
environment, such as GitHub Pages.
Install <a href="https://www.jetbrains.com/">JetBrain</a>'s
<a href="https://www.jetbrains.com/phpstorm/">PhpStorm 2023.2.7</a> as
<a href="https://flatpak.org/">Flatpak</a>.
</p>
<p class="content">
Made possible by <a href="https://andyholmes.ca/">Andy Holme's</a>
<a href="https://github.com/andyholmes/flatter">Flatter</a>,
hosted on <a href="https://pages.github.com/">GitHub Pages</a>.
Check out our sources and the Flatpak's manifest on
<a href="https://github.com/PhrozenByte/flatpak-com.jetbrains.PhpStorm">GitHub</a>.
</p>
</section>

<section id="repository">
<h2>Nightly Repository</h2>
<p class="content">
Flatter is ideal for a low-traffic Flatpak repository, like distributing
automated nightly builds. A <code>.flatpakrepo</code> file is generated
for your repository, making it easy for users to test your latest code.
</p>
<ul class="content">
<li>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" viewBox="0 0 16 16">
<path d="M1 4v8c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V4zm7 1.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5zm-2 3a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5zm4 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5zm0 0"/>
<path d="M6 1 5 2v3h2V2h2v3h2V2l-1-1zm0 0"/>
</svg>
<h3>Software Repository</h3>
<h3>Flatpak Repository</h3>
<p>
Add the repository to your software manager
Add the repository to your software manager.
</p>
<a href="https://flatter.andyholmes.ca/index.flatpakrepo" class="pill">
<a href="https://phrozenbyte.github.io/flatpak-com.jetbrains.PhpStorm/index.flatpakrepo" class="pill">
Enable Repository
</a>
</li>
</ul>
</section>

<section id="downloads">
<h2>Nightly Downloads</h2>
<p class="content">
For every successful build, Flatter can upload a Flatpak bundle as a CI
artifact. Together with <a href="https://nightly.link/">nightly.link</a>
you can share direct links to Flatpak bundles, built from the latest commit.
</p>
<ul class="content">
<li>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" viewBox="0 0 16 16">
<path d="M3 0C1.34 0 0 1.34 0 3v7c0 1.66 1.34 3 3 3h10c1.66 0 3-1.34 3-3V3c0-1.66-1.34-3-3-3zm0 2h10c.555 0 1 .445 1 1v7c0 .555-.445 1-1 1H3c-.555 0-1-.445-1-1V3c0-.555.445-1 1-1zm2 12c-1.105 0-2 .895-2 2h10c0-1.105-.895-2-2-2zm0 0"/>
</svg>
<h3>Desktop Linux</h3>
<h3>Flatpak bundle (x86-64)</h3>
<p>
For standard desktop and laptop computers, with AMD or Intel processors.
</p>
<a href="https://nightly.link/andyholmes/flatter/workflows/test/main/name.ptomato.Bloatpad-x86_64.zip" class="pill">
<a href="https://nightly.link/PhrozenByte/flatpak-com.jetbrains.PhpStorm/workflows/flatter/master/com.jetbrains.PhpStorm-x86_64.zip" class="pill">
Download (x86-64)
</a>
</li>
Expand All @@ -91,11 +86,11 @@ <h3>Desktop Linux</h3>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" viewBox="0 0 16 16">
<path d="M5 0C3.355 0 2 1.355 2 3v10c0 1.645 1.355 3 3 3h6c1.645 0 3-1.355 3-3V3c0-1.645-1.355-3-3-3zm0 2h1c0 .555.445 1 1 1h2c.555 0 1-.445 1-1h1c.57 0 1 .43 1 1v9c0 .555-.445 1-1 1H5c-.555 0-1-.445-1-1V3c0-.57.43-1 1-1zm0 0"/>
</svg>
<h3>Mobile Linux</h3>
<h3>Flatpak bundle (aarch64)</h3>
<p>
For ARM64-based devices, such as the PinePhone or Librem 5.
For ARM64-based devices, like the Pinebook Pro and Qualcomm Snapdragon X Elite notebooks.
</p>
<a href="https://nightly.link/andyholmes/flatter/workflows/test/main/name.ptomato.Bloatpad-aarch64.zip" class="pill">
<a href="https://nightly.link/PhrozenByte/flatpak-com.jetbrains.PhpStorm/workflows/flatter/master/com.jetbrains.PhpStorm-aarch64.zip" class="pill">
Download (aarch64)
</a>
</li>
Expand All @@ -104,10 +99,10 @@ <h3>Mobile Linux</h3>

<footer>
<div class="content">
&copy; 2022 <a href="https://andyholmes.ca/">Andy Holmes</a>
Made with ♥ by <a href="https://daniel-rudolf.de">Daniel Rudolf</a><br>
Created with <a href="https://flatter.andyholmes.ca/">Flatter</a> by <a href="https://andyholmes.ca/">Andy Holmes</a><br>
<a href="https://github.com/PhrozenByte/flatpak-com.jetbrains.PhpStorm">View Sources on GitHub</a>
</div>
</footer>
</body>
</html>


0 comments on commit 2437979

Please sign in to comment.