Small tidying up of Actions deployment for staging (#21221)
This commit is contained in:
1
.github/workflows/staging-build-pr.yml
vendored
1
.github/workflows/staging-build-pr.yml
vendored
@@ -15,7 +15,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }}
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
concurrency:
|
||||
|
||||
11
.github/workflows/staging-deploy-pr.yml
vendored
11
.github/workflows/staging-deploy-pr.yml
vendored
@@ -37,11 +37,6 @@ jobs:
|
||||
check_run_id: ${{ steps.create-check-run.outputs.check_run_id }}
|
||||
check_run_name: ${{ steps.create-check-run.outputs.check_run_name }}
|
||||
steps:
|
||||
- name: Dump event context
|
||||
env:
|
||||
GITHUB_EVENT_CONTEXT: ${{ toJSON(github.event) }}
|
||||
run: echo "$GITHUB_EVENT_CONTEXT"
|
||||
|
||||
- name: Create check run
|
||||
id: create-check-run
|
||||
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
|
||||
@@ -68,17 +63,11 @@ jobs:
|
||||
name: pr_build
|
||||
path: ./
|
||||
|
||||
- name: Show contents
|
||||
run: ls -l
|
||||
|
||||
- name: Extract the archive
|
||||
run: |
|
||||
tar -xf app.tar -C ./
|
||||
rm app.tar
|
||||
|
||||
- name: Show contents again
|
||||
run: ls -l
|
||||
|
||||
- if: ${{ github.repository == 'github/docs-internal' }}
|
||||
name: Setup node to clone early access
|
||||
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
|
||||
|
||||
Reference in New Issue
Block a user