Skip to content

release: change to checkout@v2 #3

release: change to checkout@v2

release: change to checkout@v2 #3

Workflow file for this run

name: GITHUB RELEASE
on:
push:
branches: [ master ]
paths-ignore:
- '**/README.md'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout master branch
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- name: Initialize node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install dependencies
run: npm i
- name: Build components
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
personal_token: ${{ secrets.DEPS_UPDATING}}
publish_dir: ./build
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}