Skip to content

Commit

Permalink
Grab UID and GID from env
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkcuys committed Feb 20, 2023
1 parent e14b183 commit 853ec97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: docker run --name site --workdir /tmp -d --network test-net --publish 3000:3000 --volume `pwd`/_site:/var/www node:14 /bin/sh -c "npm i serve && npx serve -l 3000 /var/www"

- name: run test
run: docker run --rm --network test-net --volume `pwd`:/opt/app --workdir /opt/app --user 1001:121 -e TEST_SERVER_URL=http://site:3000 ghcr.io/puppeteer/puppeteer:16.1.0 /bin/sh -c "npm install --only=dev && npm run test"
run: docker run --rm --network test-net --volume `pwd`:/opt/app --workdir /opt/app --user $UID:$GID -e TEST_SERVER_URL=http://site:3000 ghcr.io/puppeteer/puppeteer:16.1.0 /bin/sh -c "npm install --only=dev && npm run test"

- run: 'aws s3 sync ./_site/ s3://$S3_BUCKET/ --delete --storage-class REDUCED_REDUNDANCY --acl public-read'
shell: bash
Expand Down

0 comments on commit 853ec97

Please sign in to comment.