This commit is contained in:
parent
46e72ccc37
commit
ddf1ee4c0b
@ -33,10 +33,10 @@ jobs:
|
|||||||
SECURITY_ALLOWUPPERPATHS: "true"
|
SECURITY_ALLOWUPPERPATHS: "true"
|
||||||
SECURITY_ALLOWRELATIVEPATHS: "true"
|
SECURITY_ALLOWRELATIVEPATHS: "true"
|
||||||
|
|
||||||
live-server:
|
#live-server:
|
||||||
image: gitbase.de/robin/live-server
|
# image: gitbase.de/robin/live-server
|
||||||
ports:
|
# ports:
|
||||||
- 80:80
|
# - 80:80
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -97,6 +97,10 @@ jobs:
|
|||||||
# if: github.ref == 'refs/heads/dev'
|
# if: github.ref == 'refs/heads/dev'
|
||||||
# run: |
|
# run: |
|
||||||
# docker compose -p ${GITHUB_REF_NAME}-${GITHUB_REPOSITORY_NAME}-${GITHUB_REPOSITORY_OWNER} up -d --build --remove-orphans
|
# docker compose -p ${GITHUB_REF_NAME}-${GITHUB_REPOSITORY_NAME}-${GITHUB_REPOSITORY_OWNER} up -d --build --remove-orphans
|
||||||
|
|
||||||
|
- name: Start Live Server
|
||||||
|
run: |
|
||||||
|
docker run -d -p 80:80 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
|
||||||
- name: Install Chrome
|
- name: Install Chrome
|
||||||
run: |
|
run: |
|
||||||
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
||||||
@ -104,6 +108,7 @@ jobs:
|
|||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y google-chrome-stable
|
sudo apt-get install -y google-chrome-stable
|
||||||
|
|
||||||
# Lighthouse Analysis Step
|
# Lighthouse Analysis Step
|
||||||
- name: Lighthouse Analysis
|
- name: Lighthouse Analysis
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user