Skip to content

Commit

Permalink
Update website branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Nov 29, 2019
1 parent de00f25 commit 2fc2f1b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: website

on:
push:
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
# Update origin with token
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
# Add changed files
# git add .
git add .
# Only commit and push if we have changes
# git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin ${WWW_TARGET_BRANCH})
git status
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin ${WWW_TARGET_BRANCH})

0 comments on commit 2fc2f1b

Please sign in to comment.