Skip to content

Commit

Permalink
add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
hkollmann committed Apr 28, 2020
1 parent 0f6fb39 commit e40db3c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Deploy
on:
# run when the master branch is updated
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-18.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Install and Build
run: |
npm install @qooxdoo/compiler
npx qx compile --target=build -v
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB }}
publish_dir: ./compiled/build

0 comments on commit e40db3c

Please sign in to comment.