Skip to content

Merge pull request #729 from piraces/dependabot/npm_and_yarn/file-typ… #725

Merge pull request #729 from piraces/dependabot/npm_and_yarn/file-typ…

Merge pull request #729 from piraces/dependabot/npm_and_yarn/file-typ… #725

Workflow file for this run

name: Publish main artifact
on:
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
repository_dispatch:
types: [scheduled_post]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
id: node_version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ steps.node_version.outputs.NODE_VERSION }}
- run: npm install
- run: npm run build
- name: Upload deployment artifact
uses: actions/upload-artifact@v4
with:
name: deployment
path: ./_site