0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

more testing

This commit is contained in:
Hannah Wolfe 2024-10-03 16:19:21 +01:00
parent 155d76ab5d
commit f33eb1a5af
No known key found for this signature in database
GPG key ID: AB586C3B5AE5C037

View file

@ -61,10 +61,21 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Check Secret
run: |
if [[ "x${{ secrets.TEST_SECRET }}" == "xhello" ]]; then
echo "Access to secrets"
else
echo "No access to secrets"
exit 1
fi
- name: Validate input
run: |
[[ "${{ secrets.TEST_SECRET }}" ]] || { echo "Missing Test token"; }
[[ "${{ secrets.NPM_TOKEN }}" ]] || { echo "Missing NPM token"; }
[[ "${{ secrets.TB_ADMIN_TOKEN }}" ]] || { echo "Missing admin token"; }
[[ "${{ secrets.TB_ADMIN_TOKEN }}" ]] || { echo "Missing admin token"; }
- name: Get metadata (push)
if: github.event_name == 'push'