Skip to content

Commit

Permalink
Merge pull request #5 from rrigato/dev
Browse files Browse the repository at this point in the history
update build pipeline
  • Loading branch information
rrigato authored Sep 17, 2023
2 parents 1b468bf + d313da9 commit 04507f4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Add favicon images to web application
name: Updates web application
on:
push:
branches:
Expand All @@ -7,6 +7,7 @@ on:
jobs:
publish-commit-artifact:
runs-on: ubuntu-latest
name: favicon to s3 bucket
env:
ORCHESTRATION_SCRIPT: './.github/scripts/orchestrate_artifacts.sh'

Expand All @@ -27,3 +28,24 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{secrets.PERSISTANT_STORAGE_KEY}}
run: ${{env.ORCHESTRATION_SCRIPT}}


deploy-website-source-files:
runs-on: ubuntu-latest
name: web source files to s3
defaults:
run:
working-directory: ./static
steps:
- name: checkout-current-branch
uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- run: npm install

- run: npm run test

- run: npm run build

4 changes: 4 additions & 0 deletions static/webpack.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ const baseConfig = require('./webpack.config.js');

module.exports = merge(
baseConfig,

{
devServer: {
open: true
},
mode: 'development'
}
);

0 comments on commit 04507f4

Please sign in to comment.