test
This commit is contained in:
parent
a2b865cd15
commit
82eee2ca4c
@ -2,6 +2,32 @@ name: deploy to production
|
||||
|
||||
on: "push"
|
||||
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:
|
||||
name: deploy
|
||||
runs-on: ubuntu-latest
|
||||
@ -160,5 +186,3 @@ jobs:
|
||||
RSYNC_PASS: ${{ secrets.rsync_master }}
|
||||
run: |
|
||||
scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user