Merge pull request #261 from AdguardTeam/gh-1133-network-modifier-com… #1847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- v* | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: yarn install | |
run: yarn install | |
- name: yarn build | |
run: yarn build | |
- name: deploy | |
if: github.ref == 'refs/heads/master' | |
uses: JamesIves/github-pages-deploy-action@4.1.8 | |
with: | |
branch: gh-pages | |
folder: build |