ci: disable temporarly release

This commit is contained in:
Divlo 2022-08-26 16:13:13 +02:00
parent a2edafdc22
commit 694d31e68d
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -1,38 +1,38 @@
name: 'Release' # name: 'Release'
on: # on:
push: # push:
branches: [master] # branches: [master]
jobs: # jobs:
build: # build:
runs-on: 'ubuntu-latest' # runs-on: 'ubuntu-latest'
steps: # steps:
- uses: 'actions/checkout@v3.0.0' # - uses: 'actions/checkout@v3.0.0'
- name: 'Use Node.js' # - name: 'Use Node.js'
uses: 'actions/setup-node@v3.1.0' # uses: 'actions/setup-node@v3.1.0'
with: # with:
node-version: 'lts/*' # node-version: 'lts/*'
cache: 'npm' # cache: 'npm'
- name: 'Install' # - name: 'Install'
run: 'npm install' # run: 'npm install'
- name: 'Build Package' # - name: 'Build Package'
run: 'npm run build' # run: 'npm run build'
- name: 'Build Example' # - name: 'Build Example'
run: 'cd example && npm install && npm run build' # run: 'cd example && npm install && npm run build'
- name: 'Deploy Example' # - name: 'Deploy Example'
uses: 'JamesIves/github-pages-deploy-action@v4.3.0' # uses: 'JamesIves/github-pages-deploy-action@v4.3.0'
with: # with:
branch: 'gh-pages' # branch: 'gh-pages'
folder: 'example/dist' # folder: 'example/dist'
- name: 'Release' # - name: 'Release'
run: 'npm run release' # run: 'npm run release'
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}