From e40db3c3bb30eaace09f87056bcd8dd4c602f97f Mon Sep 17 00:00:00 2001 From: Henner Kollmann Date: Tue, 28 Apr 2020 21:29:36 +0200 Subject: [PATCH] add deploy action --- .github/workflows/build-and-deploy.yml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-and-deploy.yml diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml new file mode 100644 index 00000000..959f5f0c --- /dev/null +++ b/.github/workflows/build-and-deploy.yml @@ -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