Skip to content

Commit

Permalink
Merge pull request #791 from alpheios-project/i780-navigation-9
Browse files Browse the repository at this point in the history
Add pages build to github-build
  • Loading branch information
irina060981 authored May 17, 2022
2 parents fb6980a + 5253a65 commit 1a19dfa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ jobs:
SOURCE_DIR: 'public'
DEST_DIR: 'alignment-editor'

- name: s3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --delete
env:
AWS_S3_BUCKET: 'alpheios-misc-dev'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-2'
SOURCE_DIR: 'public/dist/pages'
DEST_DIR: 'alignment-editor/dist/pages'

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
11 changes: 11 additions & 0 deletions github-build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ import * as core from '@actions/core'
})
await builder.importConfig('config.mjs', 'build')
await builder.runModules()

builder = new Builder({
module: 'all',
mode: 'all',
preset: 'vue',
codeAnalysis: false,
outputLevel: Builder.outputLevels.MIN,
buildTime: buildDT
})
await builder.importConfig('config-pages.mjs', 'build')
await builder.runModules()
} catch (error) {
console.error('Build process failed:', error)
process.exit(3)
Expand Down

0 comments on commit 1a19dfa

Please sign in to comment.