dingen
This commit is contained in:
parent
85dc35da7b
commit
842dc88112
@ -56,18 +56,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo version=$(grep -A 10 '"name": "qore/system"' composer.lock | grep '"version":' | awk -F '": "' '{print $2}' | sed 's/",//') >> $GITHUB_OUTPUT
|
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
|
- name: Create frontend .env file from secret
|
||||||
run: echo "${{ secrets.frontend-env }}" > frontend/.env
|
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
|
- name: Setup composer
|
||||||
uses: https://git.qlic.nl/actions/setup-composer@v1
|
uses: https://git.qlic.nl/actions/setup-composer@v1
|
||||||
with:
|
with:
|
||||||
@ -97,7 +91,9 @@ jobs:
|
|||||||
- name: Set up SSH agent
|
- name: Set up SSH agent
|
||||||
uses: webfactory/ssh-agent@v0.5.3
|
uses: webfactory/ssh-agent@v0.5.3
|
||||||
with:
|
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
|
- name: Disable strict host key checking
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user