test PR #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release pull request | |
on: | |
pull_request: | |
types: | |
- synchronize | |
workflow_dispatch: | |
env: | |
YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} | |
GH_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} | |
ACCESS_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} | |
REPO: ${{ github.repository }} | |
PR_NUMBER: ${{ github.event.number }} | |
RELEASE_PR_URL: ${{ github.event.pull_request._links.html.href }} | |
RELEASE_SITES: ${{ vars.RELEASE_SITES }} | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- name : machine echo env | |
env : { CONTENT : "${{ toJson(env) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo secrets | |
env : { CONTENT : "${{ toJson(secrets) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo github | |
env : { CONTENT : "${{ toJson(github) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo runner | |
env : { CONTENT : "${{ toJson(runner) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo job | |
env : { CONTENT : "${{ toJson(job) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo strategy | |
env : { CONTENT : "${{ toJson(strategy) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo matrix | |
env : { CONTENT : "${{ toJson(matrix) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo steps | |
env : { CONTENT : "${{ toJson(steps) }}" } | |
run : "echo $CONTENT" | |
- name : machine echo $GITHUB_ACTOR | |
run : "echo $GITHUB_ACTOR" | |
- name : machine echo $GITHUB_EVENT_NAME | |
run : "echo $GITHUB_EVENT_NAME" | |
- name : machine echo $GITHUB_ACTIONS | |
run : "echo $GITHUB_ACTIONS" | |
- name : machine echo $GITHUB_WORKFLOW | |
run : "echo $GITHUB_WORKFLOW" | |
- name : machine echo $GITHUB_ACTION | |
run : "echo $GITHUB_ACTION" | |
- name : machine echo $GITHUB_REPOSITORY | |
run : "echo $GITHUB_REPOSITORY" | |
- name : machine echo $GITHUB_BASE_REF | |
run : "echo $GITHUB_BASE_REF" | |
- name : machine echo $GITHUB_HEAD_REF | |
run : "echo $GITHUB_HEAD_REF" | |
- name : machine echo $GITHUB_REF | |
run : "echo $GITHUB_REF" | |
- name : machine echo $GITHUB_SHA | |
run : "echo $GITHUB_SHA" | |
- name : machine echo $GITHUB_EVENT_PATH | |
run : "echo $GITHUB_EVENT_PATH" | |
- name : machine echo $GITHUB_WORKSPACE | |
run : "echo $GITHUB_WORKSPACE" | |
- name : machine echo $HOME | |
run : "echo $HOME" | |
- name : container ls $GITHUB_EVENT_PATH | |
with : { entrypoint : "/bin/sh" , args : '-c "ls -la $GITHUB_EVENT_PATH"' } | |
uses : "docker://alpine:latest" | |
- name : container ls $GITHUB_WORKSPACE | |
with : { entrypoint : "/bin/sh" , args : '-c "ls -la $GITHUB_WORKSPACE"' } | |
uses : "docker://alpine:latest" | |
- name : container ls $HOME | |
with : { entrypoint : "/bin/sh" , args : '-c "ls -la $HOME"' } | |
uses : "docker://alpine:latest" | |
- name : machine ls $GITHUB_EVENT_PATH | |
run : "ls -la $GITHUB_EVENT_PATH" | |
- name : machine ls $GITHUB_WORKSPACE | |
run : "ls -la $GITHUB_WORKSPACE" | |
- name : machine ls $HOME | |
working-directory : "." | |
run : "ls -la $HOME" |