agama/.github/workflows
Martin Vidner 6c99d1a6cd JSDoc: Only push to surge.sh from the 'master' branch
1. this avoids changing the contents of the website randomly as branches
get changes (could be avoided by namespacing)

2. it avoids errors when making a PR from a fork, which does not have
the secrets

BTW, this will not work:

    if: ${{ secrets.SURGE_TOKEN != '' }}

The 'secrets' context is not available in an 'if', 🤦
https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
2022-06-14 16:23:49 +02:00
..
ci.yml JSDoc: Only push to surge.sh from the 'master' branch 2022-06-14 16:23:49 +02:00