File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
opensaas-sh/blog/src/content/docs Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Blog to Netlify
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' opensaas-sh/blog/**'
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v3
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : ' 18'
22+
23+ - name : Install dependencies
24+ run : npm install
25+
26+ - name : Build site
27+ run : npm run build
28+
29+ - name : Deploy to Netlify
30+ uses : nwtgck/actions-netlify@v2
31+ with :
32+ publish-dir : ' ./opensaas-sh/blog/dist'
33+ production-branch : main
34+ github-token : ${{ secrets.GITHUB_TOKEN }}
35+ deploy-message : " Deploy from GitHub Actions"
36+ env :
37+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
38+ NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
39+ timeout-minutes : 1
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ This template is:
1717
18181 . fully open-source
19192 . completely free to use and distribute
20- 3 . comes with a ton of features out of the box!
20+ 3 . comes with a ton of features out of the box
21+ 4 . community-driven and constantly improving
2122
2223Check it out in action here: [ OpenSaaS.sh] ( https://opensaas.sh )
2324Check out the Code: [ Open SaaS GitHub Repo] ( https://github.com/wasp-lang/open-saas )
You can’t perform that action at this time.
0 commit comments