CI: only update the favicon on push
@@ -47,6 +47,7 @@ jobs:
git checkout master
mv ./docs/reference/gtk/images/*.png ../target/doc/gtk4
- name: Grab gtk-rs LOGO
+ if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release' }}
run: |
sudo dnf install ImageMagick wget -y
wget https://raw.githubusercontent.com/gtk-rs/gtk-rs.github.io/master/logo.svg
