dingen
This commit is contained in:
parent
85dc35da7b
commit
842dc88112
@ -56,18 +56,12 @@ jobs:
|
||||
run: |
|
||||
echo version=$(grep -A 10 '"name": "qore/system"' composer.lock | grep '"version":' | awk -F '": "' '{print $2}' | sed 's/",//') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: qore/qore-frontend
|
||||
ref: ${{ steps.get-version.outputs.version }}
|
||||
token: ${{ vars.REGISTRY_TOKEN }}
|
||||
path: frontend/src/qore
|
||||
clean: false
|
||||
|
||||
- name: Create frontend .env file from secret
|
||||
run: echo "${{ secrets.frontend-env }}" > frontend/.env
|
||||
|
||||
- name: Clone frontend
|
||||
run: git clone --depth 1 --branch ${{ steps.get-version.outputs.version }} git@git.qlic.nl:qore/qore-frontend.git frontend/src/qore
|
||||
|
||||
- name: Setup composer
|
||||
uses: https://git.qlic.nl/actions/setup-composer@v1
|
||||
with:
|
||||
@ -82,7 +76,7 @@ jobs:
|
||||
if [ -n "${{ inputs.frontend-directory }}" ]; then
|
||||
cd "${{ inputs.frontend-directory }}"
|
||||
fi
|
||||
|
||||
|
||||
if [ "${{ inputs.node-package-manager }}" = "npm" ]; then
|
||||
${{ inputs.node-package-manager }} ci
|
||||
elif [ "${{ inputs.node-package-manager }}" = "pnpm" ] || [ "${{ inputs.node-package-manager }}" = "yarn" ]; then
|
||||
@ -97,7 +91,9 @@ jobs:
|
||||
- name: Set up SSH agent
|
||||
uses: webfactory/ssh-agent@v0.5.3
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.ssh-private-key }}
|
||||
ssh-private-key: |
|
||||
${{ secrets.ssh-private-key }}
|
||||
${{ vars.QORE_FRONTEND_DEPLOY_TOKEN }}
|
||||
|
||||
- name: Disable strict host key checking
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user