Show itemsID in URL #26

Merged
Ghost merged 22 commits from development into master 2021-11-15 19:00:16 -05:00
Showing only changes of commit 3f22030648 - Show all commits

View File

@ -8,10 +8,6 @@ concurrency:
trigger:
event:
- push
branch:
- master
- main
- development
steps:
- name: replace hosts and user variables
@ -35,7 +31,7 @@ steps:
- sed -i 's/{{ DEPLOY_SSH_KEY_PASSPHRASE }}/'"$DEPLOY_SSH_KEY_PASSPHRASE"'/g' ./.ansible-items/inventory
- sed -i 's/{{ DEPLOY_USER }}/'"$DEPLOY_USER"'/g' ./.ansible-items/inventory
- name: build frontend
- name: install frontend dependencies
image: node:lts-alpine3.14
commands:
- node -v
@ -47,6 +43,30 @@ steps:
- mv ./items/frontend/build/* ./items/api/public
- rm ./items/api/public/index.html
- name: test frontend
image: node:lts-alpine3.14
commands:
- node -v
- npm -v
- yarn --version
- yarn --cwd ./items/frontend cy:run
- name: build frontend
image: node:lts-alpine3.14
commands:
- node -v
- npm -v
- yarn --version
- yarn --cwd ./items/frontend build --pure-lockfile
- rm -rf ./items/api/public/static/*
- mv ./items/frontend/build/* ./items/api/public
- rm ./items/api/public/index.html
when:
branch:
- main
- master
- development
- name: check ansible syntax
image: plugins/ansible:3
settings: