Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
deploy-website
Advanced tools
Deploy your static website to AWS S3 or GitHub Pages.
Deploy /dist
to the gh-pages
brach.
- name: Deploy to gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx deploy-website gh dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Deploy /dist
to your s3 bucket
.
BUCKET is the bucket name:
could be deploy-website-test-bucket
or with a subfolder deploy-website-test-bucket/www.
DISTRIBUTION_ID is optional. If you want to invalidate cloudfront use:
npx deploy-website aws dist true
.
- name: Deploy to S3
run: |
npx deploy-website aws dist
env:
BUCKET: ${{ secrets.BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DISTRIBUTION_ID: ${{ secrets.DISTRIBUTION_ID }}
The example (https://github.com/lichtquelle/deploy-website/blob/main/.github/workflows/test.yml) will deploy /dist to the gh-pages branch and upload /dist to and s3 bucket.
FAQs
Deploy your static website to AWS S3 or GitHub Pages.
The npm package deploy-website receives a total of 8 weekly downloads. As such, deploy-website popularity was classified as not popular.
We found that deploy-website demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.