mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
more testing
This commit is contained in:
parent
155d76ab5d
commit
f33eb1a5af
1 changed files with 12 additions and 1 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue