ci: allow manually dispatching nightly nuxt2 build

This commit is contained in:
Daniel Roe 2023-02-02 11:02:00 +00:00
parent 21badd9f2b
commit 09114125c1

View File

@ -1,6 +1,7 @@
name: nuxt2-nightly name: nuxt2-nightly
on: on:
workflow_dispatch:
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *'
@ -10,7 +11,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
ref: 'refs/remotes/origin/2.x' ref: '2.x'
fetch-depth: 0 # All history fetch-depth: 0 # All history
- name: fetch tags - name: fetch tags
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*" run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"