Skip to content

use a release not an artifact #4

use a release not an artifact

use a release not an artifact #4

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '21.6.1'
- run: npm install
- run: npm run build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
# - name: Upload artifacts
# uses: actions/upload-artifact@v4
# with:
# name: production-files
# path: ./dist