-
-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (35 loc) · 1.04 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Deploy Recipes
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Configure CI Git User
run: |
git remote set-url origin https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git checkout master
git config --global user.email [email protected]
git config --global user.name ggdaltoso
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: yarn
- name: Creating an optimized production build
run: yarn build
env:
CI: true
- name: Publish
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: ggdaltoso
GIT_COMMITTER_NAME: ggdaltoso
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]