Skip to content

0.1.3

0.1.3 #51

Workflow file for this run

name: Build and Deploy
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node.js 🛠️
uses: actions/setup-node@v3
with:
node-version: 'lts/Hydrogen'
- name: Replace GH_TAG 📝
run: |
sed -i "s/#{GH_TAG}#/${{ github.ref_name }}/g" src/components/footer/index.svelte
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Create .nojekyll file
run: touch dist/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist