Skip to content

Update dependencies (#138) #86

Update dependencies (#138)

Update dependencies (#138) #86

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/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: true