Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
project_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build
- name: Archive Production Artifact
uses: actions/upload-artifact@main
with:
name: dist
path: dist
project_deploy:
runs-on: ubuntu-latest
needs: project_build
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js and cache
uses: actions/setup-node@v2
with:
node-version: "18"
cache: "npm"
- name: Download Artifact
uses: actions/download-artifact@main
with: dist

Check failure on line 39 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 39, Col: 15): Unexpected value 'dist' .github/workflows/release.yml (Line: 40, Col: 9): Unexpected value 'path'
path: dist
- name: Deploy to Firebase
uses: joinflux/firebase-tools@main
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}