From b02b631b1e94a8607c7137845c1db1085374c3d0 Mon Sep 17 00:00:00 2001 From: mrrfv Date: Tue, 2 May 2023 20:41:40 +0200 Subject: [PATCH] Basic versioning for GitHub Action --- auto_update_github_action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/auto_update_github_action.yml b/auto_update_github_action.yml index e076965..5ab8301 100644 --- a/auto_update_github_action.yml +++ b/auto_update_github_action.yml @@ -17,8 +17,11 @@ jobs: with: node-version: 16 - - name: Clone repository - run: git clone https://github.com/mrrfv/cloudflare-gateway-pihole-scripts.git + - name: Clone repository and switch to v1 branch + run: | + git clone https://github.com/mrrfv/cloudflare-gateway-pihole-scripts.git + cd cloudflare-gateway-pihole-scripts + git checkout v1 - name: Install npm dependencies run: npm ci