removed sh

This commit is contained in:
Firq 2025-04-15 23:44:20 +02:00
parent 1cbec0fe78
commit 3f0d0ab3c4
Signed by: Firq
GPG key ID: DCE182BA39C697B2
6 changed files with 6 additions and 26 deletions

View file

@ -24,9 +24,7 @@ jobs:
- name: Check availability
run: |
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website:8081)" -ne 200 ];
do
status_code=$(curl -o /dev/null -s -w '%{http_code}' http://website:8081);
echo "Failed with ${status_code} ... Waiting for 5 seconds";
do echo "Waiting...";
sleep 5;
done;
- name: Run unlighthouse
@ -40,11 +38,6 @@ jobs:
with:
name: unlighthouse-reports
path: unlighthouse-reports/
- name: Upload start-script
uses: actions/upload-artifact@v3
with:
name: start
path: start.sh
- name: Upload Dockerfile
uses: actions/upload-artifact@v3
with:
@ -60,10 +53,6 @@ jobs:
uses: actions/download-artifact@v3
with:
name: dockerfile
- name: Downloading start script
uses: actions/download-artifact@v3
with:
name: start
- name: Downloading static site artifacts
uses: actions/download-artifact@v3
with:

View file

@ -16,8 +16,6 @@ WORKDIR /
COPY --from=build /app/dist /public
COPY --from=build /app/serve.json /public/serve.json
COPY --from=build /app/start.sh /
RUN chmod +x start.sh
EXPOSE 8081
CMD ./start.sh
CMD echo "Website version ${version} - powered by @Firq"; serve --listen 8081 --no-clipboard /public

View file

@ -5,8 +5,6 @@ ENV version=${version}
WORKDIR /
ADD reports /public
ADD start.sh /
RUN chmod +x /start.sh
EXPOSE 8081
CMD ./start.sh
CMD echo "Website version ${version} - powered by @Firq"; serve --listen 8081 --no-clipboard /public

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@firq/fgosite",
"version": "0.2.0-pre.101",
"version": "0.2.0-pre.102",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@firq/fgosite",
"version": "0.2.0-pre.101",
"version": "0.2.0-pre.102",
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
"version": "0.2.0-pre.101",
"version": "0.2.0-pre.102",
"private": true,
"scripts": {
"dev": "astro dev",

View file

@ -1,5 +0,0 @@
#!/bin/sh
cd /
echo "Website version: ${version}"
echo "powered by @Firq"
serve --listen 8081 --no-clipboard /public