toolz/.github/workflows/deploy.yml
Eduard Ursu 400ca5533d 3.1.0
closes #89
closes #80
closes #78
- Updated hosts list
- Added rules to .adblock file
- Removed partner.ads script
- Cosmetic and script tests set to 1 point each
- Improved hosts test with fake 404 page
2024-02-10 13:56:25 +01:00

33 lines
687 B
YAML

name: Deploy to gh-pages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
gh-pages-deploy:
name: Deploying to gh-pages
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Clean install dependencies
run: npm install
- name: Build app
run: npm run build
- name: Purge
run: npm run purge
- name: deploy
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'