Skip to content

Commit 8d82dc1

Browse files
committed
chores
1 parent 004bd48 commit 8d82dc1

6 files changed

Lines changed: 25 additions & 402 deletions

File tree

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on: [push]
2+
jobs:
3+
publish:
4+
runs-on: ubuntu-latest
5+
steps:
6+
# build your site for deployment... in this case the `public` folder is being deployed
7+
- name: Checkout
8+
uses: actions/checkout@v3
9+
10+
- name: Build Site
11+
run: |
12+
npm install
13+
npm run build
14+
15+
- name: Publish
16+
uses: South-Paw/action-netlify-cli@v2
17+
id: netlify
18+
with:
19+
# be sure to escape any double quotes with a backslash
20+
args: 'deploy --json --dir \"./public\" --message \"draft [${{ github.sha }}]\"'
21+
env:
22+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
23+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
24+
25+
# and access outputs in other steps with ${{ steps.netlify.outputs.OUTPUT_ID }}

netlify.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
[functions]
2-
included_files = ["./netlify/functions/templates/**"]
3-
node_bundler = "esbuild"
4-
external_node_modules = ["@sparticuz/chromium"]
5-
61
[[redirects]]
72
from = "/download/app/*"
83
to = "https://github.com/hoppscotch/releases/releases/latest/download/:splat"

netlify/functions/og-image.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

netlify/functions/templates/blog-og-image.html

Lines changed: 0 additions & 59 deletions
This file was deleted.

netlify/functions/templates/changelog-og-image.html

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)