Skip to content

Merge branch 'main' of github.com:grycap/oscar-dashboard #4

Merge branch 'main' of github.com:grycap/oscar-dashboard

Merge branch 'main' of github.com:grycap/oscar-dashboard #4

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:

Check failure on line 27 in .github/workflows/build_and_deploy_gh-pages.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_deploy_gh-pages.yml (Line: 27, Col: 14): Unexpected value ''
# Upload entire repository
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2