Fix CI: Simplify deploy-website condition [web]
Deploy website whenever web-build succeeds on main branch. The web-build job already has the conditional logic for when to build.
This commit is contained in:
@@ -157,11 +157,7 @@ jobs:
|
||||
name: 🚀 Deploy Website
|
||||
runs-on: ubuntu-latest
|
||||
needs: [python-test, web-build]
|
||||
if: |
|
||||
github.ref == 'refs/heads/main' &&
|
||||
(contains(github.event.head_commit.message, '[web]') ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'push' && contains(join(github.event.commits.*.modified, ','), 'web/')))
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
@@ -343,7 +343,7 @@ export default function HomePage() {
|
||||
</div>
|
||||
<div className="p-4 sm:p-5">
|
||||
<pre className="font-mono text-sm sm:text-base text-green-400 text-left whitespace-pre">
|
||||
<span className="text-zinc-500 select-none">$ </span>{oneClickInstallCommand}
|
||||
<span className="text-zinc-500 select-none">$ </span>{oneClickInstallCommand}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -682,7 +682,7 @@ export default function HomePage() {
|
||||
Clean removal in one command:
|
||||
</p>
|
||||
<pre className="bg-zinc-100 dark:bg-zinc-900 text-zinc-800 dark:text-zinc-200 px-4 py-3 rounded text-xs font-mono whitespace-pre overflow-x-auto">
|
||||
{`curl -fsSL \\
|
||||
{`curl -fsSL \\
|
||||
https://raw.githubusercontent.com/jatinkrmalik/vocalinux/main/uninstall.sh | bash`}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user