Skip to content

Commit

Permalink
Update /deploy/../main.yml to account for client/resources being untr…
Browse files Browse the repository at this point in the history
…acked
  • Loading branch information
howard-e committed May 20, 2024
1 parent b6a5f54 commit 013c64f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/roles/application/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
when: deployment_mode != 'development'
notify: "restart server"

- name: Make client resources folder writable for import harness
file:
path: '{{source_dir}}/client/resources'
mode: '0777'
recurse: yes
when: deployment_mode != 'development'
notify: "restart server"

- name: Link application code
file:
dest: '{{source_dir}}'
Expand Down Expand Up @@ -76,6 +84,11 @@
args:
chdir: '{{source_dir}}'

- name: Import latest tests and harness from w3c/aria-at
shell: ./deploy/scripts/export-and-exec.sh {{environment_config.dest}} node ./server/scripts/import-tests/index.js
args:
chdir: '{{source_dir}}'

- name: Build front end package
command: ./deploy/scripts/export-and-exec.sh {{environment_config.dest}} yarn workspace client build
become: yes
Expand Down

0 comments on commit 013c64f

Please sign in to comment.