Revert unrelated changes in PR #305
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Deploy | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18.x" | |
- name: Install node modules | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist/ # The folder the action should deploy. | |
single-commit: false # "false" here means "preserve git history on the gh-pages branch" | |
- name: Update Download page | |
run: curl https://p5js.org/download/release.php |