Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
goldim committed Mar 19, 2024
1 parent 420a6d6 commit 2da5647
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Deploy
on:
# run when the master branch is updated
push:
branches:
- master

repository_dispatch:
types:
- push-tag

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

- name: Install
run: npm install @qooxdoo/framework --no-save

- name: Build
run: npx qx deploy --out=./html --clean --source-maps

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html

0 comments on commit 2da5647

Please sign in to comment.