CI: add debug job to check context variables
This commit is contained in:
parent
b5b95ae5e1
commit
4c648150b2
|
|
@ -39,6 +39,17 @@ jobs:
|
|||
env:
|
||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||
|
||||
debug-context:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Show context variables
|
||||
run: |
|
||||
echo "github.ref=${{ github.ref }}"
|
||||
echo "github.ref_name=${{ github.ref_name }}"
|
||||
echo "github.event_name=${{ github.event_name }}"
|
||||
echo "github.repository=${{ github.repository }}"
|
||||
echo "github.sha=${{ github.sha }}"
|
||||
|
||||
deploy:
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
needs: [test-and-build]
|
||||
|
|
|
|||
Loading…
Reference in New Issue