removed sh
This commit is contained in:
parent
1cbec0fe78
commit
3f0d0ab3c4
6 changed files with 6 additions and 26 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
5
start.sh
5
start.sh
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd /
|
||||
echo "Website version: ${version}"
|
||||
echo "powered by @Firq"
|
||||
serve --listen 8081 --no-clipboard /public
|
Loading…
Add table
Reference in a new issue