Update dev build workflow to full process
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 13s
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 13s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -6,13 +6,11 @@ jobs:
|
||||
Build-PWA:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
npm run build --prefix /home/mserver/ALVINN/ALVINN_f7/
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
- name: Build pwa
|
||||
run: npm run build --prefix /home/mserver/ALVINN/ALVINN_f7/
|
||||
- name: Clear previous dev pwa
|
||||
run: rm -R /var/www/html/alvinn-dev/*
|
||||
- name: Copy new dev pwa
|
||||
run: cp -R /home/mserver/ALVINN/ALVINN_f7/www/* /var/www/html/alvinn-dev
|
||||
- name: Final Status
|
||||
run: echo "This job's status is ${{ job.status }}."
|
||||
Reference in New Issue
Block a user