test
This commit is contained in:
@@ -2,6 +2,32 @@ name: deploy to production
|
|||||||
|
|
||||||
on: "push"
|
on: "push"
|
||||||
jobs:
|
jobs:
|
||||||
|
lighthouse-evaluation:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: node:20-alpine3.19
|
||||||
|
env:
|
||||||
|
API_URL: some-url.com
|
||||||
|
ports:
|
||||||
|
- 80
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: log node & os versions
|
||||||
|
run: |
|
||||||
|
node -vss
|
||||||
|
cat /etc/os-release
|
||||||
|
echo $API_URL
|
||||||
|
- name: container within a step
|
||||||
|
uses: docker://node:20-alpine3.19
|
||||||
|
with:
|
||||||
|
entrypoint: /usr/local/bin/node
|
||||||
|
args: -p 2 + 3
|
||||||
|
|
||||||
|
- name: log node version
|
||||||
|
uses: docker://node:20-alpine3.19
|
||||||
|
with:
|
||||||
|
entrypoint: /usr/local/bin/node
|
||||||
|
args: -v
|
||||||
deploy:
|
deploy:
|
||||||
name: deploy
|
name: deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -160,5 +186,3 @@ jobs:
|
|||||||
RSYNC_PASS: ${{ secrets.rsync_master }}
|
RSYNC_PASS: ${{ secrets.rsync_master }}
|
||||||
run: |
|
run: |
|
||||||
scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
||||||
|
|
||||||
#
|
|
||||||
|
|||||||
Reference in New Issue
Block a user