Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
promiseonuoha committed May 20, 2024
2 parents a0c35cc + 6e1c31d commit 8beec64
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NEXT_PUBLIC_BACKEND_URL=
NEXT_PUBLIC_WORDPRESS_URL=
NEXT_PUBLIC_OPENAI_API_KEY=
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Install npm packages
run: |
npm install
- name: Build app
run: |
npm run build
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /
38 changes: 38 additions & 0 deletions server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8beec64

Please sign in to comment.