Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Testing reusable flow 12
Browse files Browse the repository at this point in the history
  • Loading branch information
lholota committed May 22, 2023
1 parent 5759151 commit 2de4ae7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,27 @@ on:
environment:
required: true
type: string
branch:
required: false
type: string
default: feat/v1 # TODO: Change to master

# TODO: Set token perms

jobs:
load-config:
runs-on: [ self-hosted ]
steps:
- name: Check out e2e repository
uses: actions/checkout@v3.5.2
with:
repository: homecentr/e2e
ref: refs/heads/${{ inputs.branch }}
path: e2e

- name: Load variables
id: vars
run: cat ./environments/local.${{ inputs.environment }}.env >> "$GITHUB_OUTPUT"
run: cat ./e2e/environments/local.${{ inputs.environment }}.env >> "$GITHUB_OUTPUT"

e2e-tests:
runs-on: [ self-hosted ]
Expand All @@ -36,7 +47,7 @@ jobs:
uses: actions/checkout@v3.5.2
with:
repository: homecentr/e2e
ref: refs/heads/master
ref: refs/heads/${{ inputs.branch }}
path: e2e

- name: Install dependencies
Expand Down

0 comments on commit 2de4ae7

Please sign in to comment.