hackerlab/.github/workflows/build-app.yml
Workflow config file is invalid. Please check your config file: Line: 11 Column 5: Failed to match job-factory: Line: 19 Column 9: Failed to match run-step: Line: 20 Column 9: Unknown Property uses Line: 21 Column 13: Failed to parse: got unexpected character ' ' while lexing == operator, expecting '=' Line: 22 Column 9: Unknown Property with Line: 19 Column 9: Failed to match regular-step: Line: 21 Column 13: Failed to parse: got unexpected character ' ' while lexing == operator, expecting '=' Line: 11 Column 5: Failed to match workflow-job: Line: 12 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
2021-11-10 16:34:08 +00:00

25 lines
613 B
YAML

# This action builds and deploys the master branch
name: 🏗️ Build App to Branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
if: ${{ github.repository_owner === 'lissy93' }}
with:
branch: dev-demo
folder: dist