Skip to content

Commit

Permalink
Merge pull request #3 from akshaykalia/patch-1
Browse files Browse the repository at this point in the history
feat: add `fetch-shipyard-env` gh workflow
  • Loading branch information
rogerioshieh authored Apr 19, 2022
2 parents 9b52378 + c902402 commit 0a6519b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/print-env-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [push]

jobs:
print-env-data:
runs-on: ubuntu-latest
name: Fetch Shipyard Vars
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch Shipyard Environment
uses: shipyard/github-action/[email protected]
with:
api-token: ${{ secrets.SHIPYARD_API_TOKEN }}
timeout-minutes: "10"
- name: Print Env Data
run: |
export CYPRESS_BASE_URL=${SHIPYARD_ENVIRONMENT_URL}
export CYPRESS_BYPASS_TOKEN=${SHIPYARD_BYPASS_TOKEN}
env | grep -e SHIPYARD -e CYPRESS
shell: bash

0 comments on commit 0a6519b

Please sign in to comment.