-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (35 loc) · 1010 Bytes
/
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
38
name: build and publish
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- run: npm install
- run: npm run build
- run: cd wms-assistent
- run: npm install
- run: npm run build
- run: cd ..
- name: Check downloaded files
run: ./.github/workflows/filecheck.sh
# - name: Checkout
# uses: actions/checkout@v3
# with:
# path: "./destinationRepo"
# token: ${{secrets.PUSH_TOKEN}}
- name: Run deployment script
run: ./.github/workflows/deploy.sh
shell: bash
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.event.repository.name }}.tar.gz
tag: v_${{ github.run_number }}
- name: post to slack
run: ./.github/workflows/slack.sh ${{ secrets.POST_SLACK }}
shell: bash