Bump astro from 5.16.5 to 5.18.1 #59
This file contains hidden or 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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Needed for auth with Deno Deploy | |
| contents: read # Needed to clone the repository | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v3 | |
| - name: Install Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Cache npm modules | |
| uses: actions/cache@v3 | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}- | |
| - name: Install node_modules | |
| run: npm install | |
| - name: Build site | |
| run: npm run build | |
| - name: Copy deno.json to dist | |
| run: cp deno.json dist/deno.json | |
| - name: Upload to Deno Deploy | |
| uses: denoland/deployctl@v1 | |
| with: | |
| project: "openflowlabs-website" | |
| entrypoint: "./server/entry.mjs" | |
| root: ./dist | |
| import-map: "./deno.json" |