From bd3acff476cfe5a1e4743da95b41fdc9023e1304 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Fri, 16 Feb 2024 22:16:48 -0800 Subject: [PATCH] exclude build if branch is main --- .woodpecker.yml | 2 ++ config.toml | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5d98844..a713eef 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,6 +10,8 @@ steps: secrets: [ cloudflare_account_id, cloudflare_api_token ] when: event: [push, pull_request] + branch: + exclude: [ main ] - name: deploy image: nixos/nix diff --git a/config.toml b/config.toml index 852bcd0..401f6f3 100644 --- a/config.toml +++ b/config.toml @@ -155,14 +155,6 @@ feed_icon = true # If it's set to false, only the description or summary will be shown. full_content_in_feed = true -# Email address for footer's social section. -# Protect against spambots: -# 1. Use base64 for email (convert at https://www.base64encode.org/ or `printf 'your@email.com' | base64`). -# 2. Or, set 'encode_plaintext_email' to true for auto-encoding (only protects on site, not in public repos). -email = "c2FsYXJAc29mdGluaW8ubmV0" -# Decoding requires ~400 bytes of JavaScript. If JS is disabled, the email won't be displayed. -encode_plaintext_email = false # Setting is ignored if email is already encoded. - # The icons available can be found in "social_icons" in the "static" folder. socials = [ { name = "xmpp", url = "https://join.jabber.network/#salar@softinio.dev", icon = "xmpp" },