diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index b400ecd..21741fd 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -20,6 +20,7 @@ jobs: # this is a beautiful way to deploy a website and i will not take any criticism - name: Deploy + if: github.event_name == 'push' && github.ref_name == 'master' run: | curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa