Skip to content

Use stable values in pileon font-size calculations (#129) #80

Use stable values in pileon font-size calculations (#129)

Use stable values in pileon font-size calculations (#129) #80

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy-pages:
name: Deploy to pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build static file bundle
run: |
echo "VITE_COMMIT=\"${GITHUB_SHA}\"" >> .env
npm run build -- --base https://pileon.net/
cp dist/index.html dist/404.html
touch dist/.nojekyll
- name: Deploy to pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: true