Skip to content

Improved loading background control #3

Improved loading background control

Improved loading background control #3

Workflow file for this run

name: Create Artifact
on:
push:
tags: ["v*"]
permissions:
contents: write
concurrency:
group: "release"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
cache: yarn
- name: Restore cache
uses: actions/cache@v3
with:
path: |
dist
.nuxt
.output
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
restore-keys: |
${{ runner.os }}-nuxt-build-
- name: Install dependencies
run: yarn install
- name: Generate Static Site
run: yarn run generate
env:
NUXT_APP_BASE_URL: "/"
- name: Create Archive
run: |
pushd .output/public
zip -r ../../release.zip .
popd
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: release.zip