Skip to content

Commit bba2de5

Browse files
committed
build test
1 parent 637b730 commit bba2de5

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/deplot-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Notification To staging.phcode.dev
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-tasks:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Event triggered by
13+
run: |
14+
echo source: ${{github.event.client_payload.source}}, workflow: ${{github.event.client_payload.workflow}}, action_run_id: ${{github.event.client_payload.run_id}}, action_run_number: ${{github.event.client_payload.run_number}}, sha: ${{ github.event.client_payload.sha }}, github_ref: ${{ github.event.client_payload.ref }}
15+
- name: Checking Out https://github.com/phcode-dev/phoenix
16+
uses: actions/checkout@v2
17+
with:
18+
repository: phcode-dev/phoenix
19+
path: './phoenix'
20+
- name: Building phoenix release artifacts
21+
working-directory: ./phoenix
22+
run: |
23+
npm install
24+
npm run release
25+
shell: bash
26+
- name: Copying release artifacts to public folder
27+
run: |
28+
mkdir -p ./public
29+
cp -r ./phoenix/dist ./public
30+
shell: bash

0 commit comments

Comments
 (0)