[skip ci] I read the docs for actions/checkout wrong

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2021-09-12 17:09:47 +01:00
parent 521bed1c4f
commit 17453166c2
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Build & Deploy Nightly images
232623name: Build & Deploy Nightly images
on:
schedule:
- cron: '0 2 * * *'
@ -22,6 +22,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: dev
- name: Checkout Dummy Branch to set image name
run: |
git checkout -b nightly
- name: Run Tests
@ -49,6 +50,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: dev
- name: Checkout Dummy Branch to set image name
run: |
git checkout -b nightly
- name: Download workspace files

View File

@ -38,6 +38,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
- name: Checkout Dummy Branch to set image name
run: |
git checkout -b ${{ github.event.inputs.name }}
- name: Run Tests
@ -65,6 +66,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: dev
- name: Checkout Dummy Branch to set image name
run: |
git checkout -b ${{ github.event.inputs.name }}
- name: Download workspace files