Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cathalnoonan authored Jan 12, 2023
1 parent d89f48d commit 6287ab8
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
name: my-artifact
path: path/to/artifact/world.txt

# # Debug info
# - run: echo DEBUG_INFO
# env:
# GITHUB_JSON: '${{ toJSON(github) }}'
# GITHUB_ENV: '${{ toJSON(env) }}'
# GITHUB_JOB: '${{ toJSON(job) }}'
# #GITHUB_JOBS: '${{ toJSON(jobs) }}'
# GITHUB_STEPS: '${{ toJSON(steps) }}'
# GITHUB_RUNNER: '${{ toJSON(runner) }}'
# GITHUB_STRATEGY: '${{ toJSON(strategy) }}'
# GITHUB_MATRIX: '${{ toJSON(matrix) }}'
# GITHUB_NEEDS: '${{ toJSON(needs) }}'
# GITHUB_INPUTS: '${{ toJSON(inputs) }}'
# Debug info
- run: echo DEBUG_INFO
env:
GITHUB_JSON: '${{ toJSON(github) }}'
GITHUB_ENV: '${{ toJSON(env) }}'
GITHUB_JOB: '${{ toJSON(job) }}'
#GITHUB_JOBS: '${{ toJSON(jobs) }}'
GITHUB_STEPS: '${{ toJSON(steps) }}'
GITHUB_RUNNER: '${{ toJSON(runner) }}'
GITHUB_STRATEGY: '${{ toJSON(strategy) }}'
GITHUB_MATRIX: '${{ toJSON(matrix) }}'
GITHUB_NEEDS: '${{ toJSON(needs) }}'
GITHUB_INPUTS: '${{ toJSON(inputs) }}'

deploy:
strategy:
Expand All @@ -54,3 +54,17 @@ jobs:
name: my-artifact
path: ./dist
- run: cat ./dist/world.txt

# Debug info
- run: echo DEBUG_INFO
env:
GITHUB_JSON: '${{ toJSON(github) }}'
GITHUB_ENV: '${{ toJSON(env) }}'
GITHUB_JOB: '${{ toJSON(job) }}'
#GITHUB_JOBS: '${{ toJSON(jobs) }}'
GITHUB_STEPS: '${{ toJSON(steps) }}'
GITHUB_RUNNER: '${{ toJSON(runner) }}'
GITHUB_STRATEGY: '${{ toJSON(strategy) }}'
GITHUB_MATRIX: '${{ toJSON(matrix) }}'
GITHUB_NEEDS: '${{ toJSON(needs) }}'
GITHUB_INPUTS: '${{ toJSON(inputs) }}'

0 comments on commit 6287ab8

Please sign in to comment.