Skip to content

added upload artifact master #1

added upload artifact master

added upload artifact master #1

Workflow file for this run

name: Deploy website

Check failure on line 1 in .github/workflows/demo.yml

View workflow run for this annotation

GitHub Actions / Deploy website

Invalid workflow file

The workflow is not valid. .github/workflows/demo.yml: (Line: 31, Col: 15, Idx: 662) - (Line: 31, Col: 16, Idx: 663): While parsing a tag, did not find expected tag URI.
on:
push:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get code
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Test code
run: npm run test
build:
needs: test
runs-on: ubuntu-latest
steps:
- name: Get code
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Upload into Artifactory
uses: actions/upload-artifact@v3
with: !
name: dist-files
path: |
dist
package.json
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy
run: echo "Deploying..."