From fc41cc4b72f51ad248f2af58318299459e7de773 Mon Sep 17 00:00:00 2001 From: Robin IT Date: Thu, 19 Sep 2019 15:27:17 +0200 Subject: [PATCH] Missed a checkout force-push. --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index bb7746d..f3518d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,9 +30,10 @@ steps: - git init - git config user.email "deploy-bot@tauri-apps.org" - git config user.name "Deployment Bot" + - git checkout -b gh-pages - git add --all - git commit -m "Updating GitHub pages `date`" - - git push --dry-run git@github.com:tauri-apps/tauri-apps.org.git HEAD:gh-pages + - git push -f --dry-run git@github.com:tauri-apps/tauri-apps.org.git gh-pages # Real push on master. - name: commit-and-push @@ -52,9 +53,10 @@ steps: - git init - git config user.email "deploy-bot@tauri-apps.org" - git config user.name "Deployment Bot" + - git checkout -b gh-pages - git add --all - git commit -m "Updating GitHub pages `date`" - - git push git@github.com:tauri-apps/tauri-apps.org.git HEAD:gh-pages + - git push -f git@github.com:tauri-apps/tauri-apps.org.git gh-pages trigger: # Note: When you want to remove the dry-run build,