-
Notifications
You must be signed in to change notification settings - Fork 20
42 lines (38 loc) · 1.26 KB
/
deployRelease.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
39
40
41
42
name: Deploy Release
on:
workflow_run:
workflows: ["PHP Tests on Linux"]
branches: [master]
types:
- completed
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
run: |
yarn install
yarn build
rm -rf .babelrc
rm -rf .eslintrc.js
rm -rf .github
rm -rf .gitignore
rm -rf .travis.yml
rm -rf _jstest
rm -rf _test
rm -rf node_modules
rm -rf package.json
rm -rf pre-commit.hook.sh
rm -rf requirements.txt
rm -rf script
rm -rf stylelint.config.js
rm -rf webpack.config.js
rm -rf yarn.lock
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: release
folder: .