Improved recipes sorting, added hover tooltips #26
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: Deployment | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 22.2.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.2.0 | |
cache: 'npm' | |
- run: npm install typescript | |
- run: npx tsc | |
- run: npx esbuild --platform=node src/Tools/SatisfactoryRecipeExporter/Exporter.ts --bundle --sourcemap --outfile=src/Tools/SatisfactoryRecipeExporter/Exporter.js | |
- run: node src/Tools/SatisfactoryRecipeExporter/Exporter.js | |
- run: npx esbuild src/main.ts --bundle --outfile=dist/script.js | |
- name: Deploy with gh-pages | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npx gh-pages -d dist -u "github-actions-bot <[email protected]>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |