Skip to content

Commit 9b57e0d

Browse files
committed
Fix workflow
1 parent 2ed21eb commit 9b57e0d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
name: Build and Deploy
22
on:
3+
# run when the master branch is updated
34
push:
45
branches:
56
- master
7+
# run every day at 01:00
8+
schedule:
9+
- cron: "0 1 * * *"
10+
611
jobs:
712
build-and-deploy:
813
runs-on: ubuntu-latest
14+
if: "!contains(github.event.head_commit.message, 'ci skip')"
915
steps:
1016
- name: Checkout
1117
uses: actions/checkout@v2
@@ -16,6 +22,7 @@ jobs:
1622
run: |
1723
npm install @qooxdoo/compiler
1824
npx qx compile --target=build -v
25+
git reset --hard HEAD
1926
2027
- name: Deploy
2128
uses: JamesIves/github-pages-deploy-action@releases/v3

0 commit comments

Comments
 (0)