push on branches

This commit is contained in:
unclekingpin 2023-05-18 13:00:03 -07:00
parent 55715ae396
commit fcb4afc170

View file

@ -1,6 +1,9 @@
name: Build name: Build
on: push on:
push:
branches:
- '*'
jobs: jobs:
build: build:
@ -15,12 +18,15 @@ jobs:
- name: Test - name: Test
run: npm test run: npm test
- name: Lint - name: Lint
run: npm run lint run: npm run lint && echo ${{ github.ref_name }}
pages:
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build publish_dir: ./build
destination_dir: ${{ github.head_ref }} destination_dir: ${{ github.ref_name }}
enable_jekyll: true enable_jekyll: true
allow_empty_commit: true allow_empty_commit: true